Changeset 2267 for trunk/gsdl/perllib/docsave.pm
- Timestamp:
- 2001-04-03T14:33:03+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/docsave.pm
r2224 r2267 53 53 $self->{'groupsize'} = $groupsize; 54 54 $self->{'gs_count'} = 0; 55 55 56 # keep an associate array of all metavalues used by collection to 57 # help generate the XML DTD 58 $self->{'dtd_metadata'} = {}; 59 56 60 $self->{'outhandle'} = STDERR; 57 61 $self->{'outhandle'} = $outhandle if defined $outhandle; 58 59 62 # set a default for the archive directory 60 63 $self->{'archive_dir'} = &util::filename_cat ($ENV{'GSDLCOLLECTDIR'}, "archives"); … … 113 116 114 117 # save this document 115 $doc_obj->output_section('docsave::OUTDOC', $doc_obj->get_top_section()); 118 $doc_obj->output_section('docsave::OUTDOC', 119 $doc_obj->get_top_section(), 120 $self->{'collection'}, 121 $self->{'dtd_metadata'},0); 122 116 123 close OUTDOC; 117 124 … … 184 191 185 192 # save this document 186 $doc_obj->output_section('docsave::OUTDOC', $doc_obj->get_top_section()); 193 $doc_obj->output_section('docsave::OUTDOC', 194 $doc_obj->get_top_section(), 195 $self->{'collection'}, 196 $self->{'dtd_metadata'},0); 187 197 188 198 $self->{'gs_count'}++;
Note:
See TracChangeset
for help on using the changeset viewer.