[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/ricci/common XML.cpp



CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	EXPERIMENTAL
Changes by:	rmccabe 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<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 + ">";
   }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]