diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-04-06 15:44:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-04-06 15:44:26 +0200 |
commit | 6e4d86618645c45d07c3a8113f4641cb9161309e (patch) | |
tree | cc03cb8d0c7dbf9ef1cc2335f31034630f49b9a1 /examples/cxx/hybrid/polymorphism/driver.cxx | |
parent | b76292f8f22817401f61158a42afcfc210102657 (diff) |
Add support for XML pretty-printing
examples/cxx/hybrid/:
examples/cxx/serializer/: turn on pretty-printing
Diffstat (limited to 'examples/cxx/hybrid/polymorphism/driver.cxx')
-rw-r--r-- | examples/cxx/hybrid/polymorphism/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cxx/hybrid/polymorphism/driver.cxx b/examples/cxx/hybrid/polymorphism/driver.cxx index 926bb91..81d2e95 100644 --- a/examples/cxx/hybrid/polymorphism/driver.cxx +++ b/examples/cxx/hybrid/polymorphism/driver.cxx @@ -115,7 +115,7 @@ main (int argc, char* argv[]) doc_s.add_no_namespace_schema ("supermen.xsd"); supermen_s.pre (*sm); - doc_s.serialize (cout); + doc_s.serialize (cout, xml_schema::document_simpl::pretty_print); supermen_s.post (); } catch (const xml_schema::parser_exception& e) |