aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/serializer/wildcard/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-04-06 15:44:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-04-06 15:44:26 +0200
commit6e4d86618645c45d07c3a8113f4641cb9161309e (patch)
treecc03cb8d0c7dbf9ef1cc2335f31034630f49b9a1 /examples/cxx/serializer/wildcard/driver.cxx
parentb76292f8f22817401f61158a42afcfc210102657 (diff)
Add support for XML pretty-printing
examples/cxx/hybrid/: examples/cxx/serializer/: turn on pretty-printing
Diffstat (limited to 'examples/cxx/serializer/wildcard/driver.cxx')
-rw-r--r--examples/cxx/serializer/wildcard/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cxx/serializer/wildcard/driver.cxx b/examples/cxx/serializer/wildcard/driver.cxx
index 7feb13a..876f47b 100644
--- a/examples/cxx/serializer/wildcard/driver.cxx
+++ b/examples/cxx/serializer/wildcard/driver.cxx
@@ -392,7 +392,7 @@ main ()
doc_s.add_schema ("http://www.codesynthesis.com/email", "email.xsd");
envelope_s.pre (env);
- doc_s.serialize (cout);
+ doc_s.serialize (cout, xml_schema::document_simpl::pretty_print);
envelope_s.post ();
}
catch (const xml_schema::serializer_exception& e)