From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 2 Jun 2007 04:27:42 -0000 Subject: [Cluster-devel] conga/ricci/common XML.cpp Message-ID: <20070602042742.17479.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/XML.cpp.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.8&r2=1.8.2.1 --- conga/ricci/common/XML.cpp 2007/03/22 03:42:38 1.8 +++ conga/ricci/common/XML.cpp 2007/06/02 04:27:42 1.8.2.1 @@ -119,15 +119,15 @@ xml += " " + name + "=\"" + value + "\""; } if (children().empty()) - xml += "/>\n"; + xml += "/>"; else { - xml += ">\n"; + xml += ">"; for (list::const_iterator iter = children().begin(); iter != children().end(); iter++) { - iter->generate_xml(xml, indent + "\t"); + iter->generate_xml(xml, indent); } - xml += indent + "\n"; + xml += indent + ""; } }