aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/tree/messaging/dom-serialize.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cxx/tree/messaging/dom-serialize.cxx')
-rw-r--r--examples/cxx/tree/messaging/dom-serialize.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/cxx/tree/messaging/dom-serialize.cxx b/examples/cxx/tree/messaging/dom-serialize.cxx
index e303e9c..f6ce4e4 100644
--- a/examples/cxx/tree/messaging/dom-serialize.cxx
+++ b/examples/cxx/tree/messaging/dom-serialize.cxx
@@ -53,6 +53,7 @@ serialize (std::ostream& os,
//
conf->setParameter (XMLUni::fgDOMWRTDiscardDefaultContent, true);
conf->setParameter (XMLUni::fgDOMWRTFormatPrettyPrint, true);
+ conf->setParameter (XMLUni::fgDOMWRTXercesPrettyPrint, false);
xml::dom::auto_ptr<DOMLSOutput> out (impl->createLSOutput ());
out->setEncoding (xml::string (encoding).c_str ());