Changeset 15178

Show
Ignore:
Timestamp:
10.04.2008 08:51:05 (11 years ago)
Author:
kjdon
Message:

needed to add extra_metadata() call in xml_end_tag so that can get metadata from metadata.xml files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/MARCXMLPlug.pm

    r15018 r15178  
    413413        print $outhandle "Warning: Unable for write out associated MARCXML file $tmp_marcxml_filename\n"; 
    414414    } 
     415     
     416    # include any metadata passed in from previous plugins  
     417    # note that this metadata is associated with the top level section 
     418     
     419    $self->extra_metadata ($doc_obj,  
     420                   $doc_obj->get_top_section(),  
     421                   $self->{'metadata'}); 
     422     
    415423 
    416424    $self->add_OID($doc_obj,  $self->{'record_count'});