From f0510d2f90467de8e8f260b47d79a9baaf9bef17 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2009 07:15:29 +0200 Subject: Start tracking XSD with git --- examples/cxx/tree/messaging/dom-serialize.hxx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 examples/cxx/tree/messaging/dom-serialize.hxx (limited to 'examples/cxx/tree/messaging/dom-serialize.hxx') diff --git a/examples/cxx/tree/messaging/dom-serialize.hxx b/examples/cxx/tree/messaging/dom-serialize.hxx new file mode 100644 index 0000000..1a7e855 --- /dev/null +++ b/examples/cxx/tree/messaging/dom-serialize.hxx @@ -0,0 +1,21 @@ +// file : examples/cxx/tree/messaging/dom-serialize.hxx +// author : Boris Kolpackov +// copyright : not copyrighted - public domain + +#ifndef DOM_SERIALIZE +#define DOM_SERIALIZE + +#include +#include + +#include + +// Serialize a DOM document to XML which is written to the standard +// output stream. +// +void +serialize (std::ostream& os, + const xercesc::DOMDocument& doc, + const std::string& encoding = "UTF-8"); + +#endif // DOM_SERIALIZE -- cgit v1.1