Changeset 8895
- Timestamp:
- 2005-01-12T16:11:00+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/docsave.pm
r8854 r8895 184 184 my $doc_mets_file 185 185 = &util::filename_cat ($self->{'archive_dir'},$doc_dir, "docmets.xml"); 186 186 187 187 if ($save_as eq "GA") { 188 188 $short_doc_file = util::filename_cat ($doc_dir, "doc.xml"); … … 226 226 $self->output_mets_xml_header('docsave::OUTDOC_METS', $OID); 227 227 $doc_obj->output_mets_section('docsave::OUTDOC_METS', 228 $doc_obj->get_top_section(), 229 $import_working_dir); 228 $doc_obj->get_top_section()); 230 229 $self->output_mets_xml_footer('docsave::OUTDOC_METS'); 231 230 … … 585 584 586 585 print $handle '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' . "\n"; 587 print $handle '<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">' . "\n"; 588 print $handle '<mets:mets OBJID="'. $OID. ':2">' . "\n"; 586 print $handle '<mets:mets xmlns:mets="http://www.loc.gov/METS/"' . "\n"; 587 print $handle ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' . "\n"; 588 print $handle ' xmlns:gsdl3="http://www.greenstone.org/namespace/gsdlmetadata/1.0/"' . "\n"; 589 print $handle ' xmlns:xlink="http://www.w3.org/TR/xlink"' ."\n"; 590 print $handle ' xsi:schemaLocation="http://www.loc.gov/METS/' . "\n"; 591 print $handle ' http://www.loc.gov/standards/mets/mets.xsd' . "\n"; 592 print $handle ' http://www.greenstone.org/namespace/gsdlmetadata/1.0/' . "\n"; 593 print $handle ' http://www.greenstone.org/namespace/gsdlmetadata/1.0/gsdl_metadata.xsd"' . "\n"; 594 print $handle ' OBJID="'. $OID. ':2">' . "\n"; 589 595 } 590 596 … … 600 606 601 607 print $handle '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' . "\n"; 602 # print $handle '<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">' ."\n";608 # print $handle '<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">'."\n"; 603 609 print $handle '<dublin_core>' . "\n"; 604 610 }
Note:
See TracChangeset
for help on using the changeset viewer.