Ignore:
Timestamp:
2012-03-12T10:51:09+13:00 (12 years ago)
Author:
sjm84
Message:

(Hopefully fixed config file issues for Greenstone 3 GLI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfigXMLReadWrite.java

    r24931 r25206  
    639639        if (format != null && format.hasChildNodes())
    640640        { // not an empty format statement
    641             String gsf_text = XMLTools.xmlNodeToStringWithoutIndenting(format);
     641            String gsf_text = XMLTools.xmlNodeToString(format);
    642642           
    643643            //We don't want the <format> elements in the string
     
    23662366    static public void save(File collect_config_xml_file, Document doc)
    23672367    {
    2368 
    23692368        Document collection_config_xml_document = convertInternalToCollectionConfig(doc);
    23702369        String[] nonEscapingTagNames = { StaticStrings.FORMAT_STR, StaticStrings.DISPLAYITEM_STR };
    23712370        XMLTools.writeXMLFile(collect_config_xml_file, collection_config_xml_document, nonEscapingTagNames);
    2372 
    23732371    }
    23742372
Note: See TracChangeset for help on using the changeset viewer.