conga/ricci/common XML.cpp
CVSROOT: /cvs/cluster
Module name: conga
Branch: EXPERIMENTAL
Changes by: rmccabe at sourceware.org 2007-06-02 04:27:42
Modified files:
ricci/common : XML.cpp
Log message:
kill all the extra whitespace and indentation. it generates too much wasted data for storage reports.
ricci/common/XML.cpp +4 -4
@@ -119,15 +119,15 @@ xml += " " + name + "=\"" + value + "\""; } if (children().empty()) - xml += "/>\n"; + xml += "/>"; else { - xml += ">\n"; + xml += ">"; for (list<XMLObject>::const_iterator iter = children().begin(); iter != children().end(); iter++) { - iter->generate_xml(xml, indent + "\t"); + iter->generate_xml(xml, indent); } - xml += indent + "</" + _tag + ">\n"; + xml += indent + "</" + _tag + ">"; } }