Changeset 27503


Ignore:
Timestamp:
05/28/13 14:36:23 (8 years ago)
Author:
kjdon
Message:

modified to handle files with just a single record. So no collection tag, just a record tag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/MARCXMLPlugin.pm

    r24547 r27503  
    103103    $self->{'indent'} = 0;
    104104
     105    # in case we have individual records without a collection tag
     106    $self->{'xmlcollectiontag'} = "<collection>";
    105107    return bless $self, $class;
    106108}
     
    116118    my $self = shift(@_);
    117119   
    118     return "collection";
     120    return "(collection|record)";
    119121}
    120122
Note: See TracChangeset for help on using the changeset viewer.