diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-07-04 11:12:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-07-04 11:12:32 +0200 |
commit | a1bc52f9ae499a672b05b3264f82a24637a16a02 (patch) | |
tree | e6efa435f63bafa8e7f51e4028b05531c3efde2b /libxsd/xsd/cxx/xml/dom/serialization-source.hxx | |
parent | 1a4099b78717b16f632b0e7e0980a27811221e52 (diff) |
Factor out namespace declaration and schema location code
Diffstat (limited to 'libxsd/xsd/cxx/xml/dom/serialization-source.hxx')
-rw-r--r-- | libxsd/xsd/cxx/xml/dom/serialization-source.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libxsd/xsd/cxx/xml/dom/serialization-source.hxx b/libxsd/xsd/cxx/xml/dom/serialization-source.hxx index a1c9c3a..9056917 100644 --- a/libxsd/xsd/cxx/xml/dom/serialization-source.hxx +++ b/libxsd/xsd/cxx/xml/dom/serialization-source.hxx @@ -46,6 +46,12 @@ namespace xsd xercesc::DOMElement& create_element (const C* name, const C* ns, xercesc::DOMElement&); + // Add namespace declarations and schema locations. + // + template <typename C> + void + add_namespaces (xercesc::DOMElement&, const namespace_infomap<C>&); + // Serialization flags. // const unsigned long no_xml_declaration = 0x00010000UL; |