aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/serializer/hello/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cxx/serializer/hello/driver.cxx')
-rw-r--r--examples/cxx/serializer/hello/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cxx/serializer/hello/driver.cxx b/examples/cxx/serializer/hello/driver.cxx
index e895add..c3eba63 100644
--- a/examples/cxx/serializer/hello/driver.cxx
+++ b/examples/cxx/serializer/hello/driver.cxx
@@ -72,7 +72,7 @@ main ()
doc_s.add_no_namespace_schema ("hello.xsd");
hello_s.pre ();
- doc_s.serialize (cout);
+ doc_s.serialize (cout, xml_schema::document_simpl::pretty_print);
hello_s.post ();
}
catch (const xml_schema::serializer_exception& e)