Changeset 25206 for main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfigXMLReadWrite.java
- Timestamp:
- 2012-03-12T10:51:09+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfigXMLReadWrite.java
r24931 r25206 639 639 if (format != null && format.hasChildNodes()) 640 640 { // not an empty format statement 641 String gsf_text = XMLTools.xmlNodeToString WithoutIndenting(format);641 String gsf_text = XMLTools.xmlNodeToString(format); 642 642 643 643 //We don't want the <format> elements in the string … … 2366 2366 static public void save(File collect_config_xml_file, Document doc) 2367 2367 { 2368 2369 2368 Document collection_config_xml_document = convertInternalToCollectionConfig(doc); 2370 2369 String[] nonEscapingTagNames = { StaticStrings.FORMAT_STR, StaticStrings.DISPLAYITEM_STR }; 2371 2370 XMLTools.writeXMLFile(collect_config_xml_file, collection_config_xml_document, nonEscapingTagNames); 2372 2373 2371 } 2374 2372
Note:
See TracChangeset
for help on using the changeset viewer.