[xsd-users] serialization of any elements and namespaces

Boris Kolpackov boris at codesynthesis.com
Wed Apr 5 12:37:29 EDT 2017


Hi Jeffrey,

Gross, Jeffrey <jgross03 at harris.com> writes:

> xercesc::DOMElement* e =
>   statusElement.dom_document().createElement(
>     xsd::cxx::xml::string("ns2:group"));

Try to create the element with the actual namespace URI and
createElementNS() instead of using a name with the namespace
prefix.

Boris



More information about the xsd-users mailing list