sync
diff --git a/xmltest.cpp b/xmltest.cpp
index 7be7c2e..b624d9b 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -7,14 +7,7 @@
int main( int argc, const char* argv )
{
-#if 0
- {
- static const char* test = "<!--hello world-->";
-
- XMLDocument doc;
- doc.Parse( test );
- doc.Print( stdout );
- }
+#if 1
{
static const char* test = "<!--hello world\n"
" line 2\r"
@@ -24,9 +17,10 @@
XMLDocument doc;
doc.Parse( test );
- doc.Print( stdout );
+ doc.Print();
}
#endif
+#if 0
{
static const char* test[] = { "<element />",
"<element></element>",
@@ -52,7 +46,8 @@
printf( "----------------------------------------------\n" );
}
}
-#if 0
+#endif
+#if 1
{
static const char* test = "<element>Text before.</element>";
XMLDocument doc;