Changeset 1044
- Timestamp:
- 2000-03-22T13:59:40+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/mgbuildproc.pm
r900 r1044 239 239 else { print $handle "[$doc_OID.$section]\n"; } 240 240 241 # output the fact that this document is a document 242 print $handle "<doctype>doc\n"; 241 # output the fact that this document is a document (unless doctype 242 # has been set to something else from within a plugin 243 my $dtype = $doc_obj->get_metadata_element ($section, "doctype"); 244 if (!defined $dtype || $dtype !~ /\w/) { 245 print $handle "<doctype>doc\n"; 246 } 243 247 244 248 # output whether this node contains text
Note:
See TracChangeset
for help on using the changeset viewer.