dbertoni 2003/01/24 10:26:38
Modified: c/samples/TransformToXercesDOM TransformToXercesDOM.cpp
Log:
Indent the output.
Revision Changes Path
1.3 +4 -0
xml-xalan/c/samples/TransformToXercesDOM/TransformToXercesDOM.cpp
Index: TransformToXercesDOM.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/samples/TransformToXercesDOM/TransformToXercesDOM.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TransformToXercesDOM.cpp 24 Jan 2003 17:06:40 -0000 1.2
+++ TransformToXercesDOM.cpp 24 Jan 2003 18:26:38 -0000 1.3
@@ -71,6 +71,10 @@
FormatterToXML theFormatter(thePrintWriter);
+ theFormatter.setDoIndent(true);
+
+ theFormatter.setIndent(2);
+
XercesDOMFormatterWalker theWalker(theFormatter);
theWalker.traverse(&theDocument);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]