Welcome to the XML binding feature set of Rogue Wave® HydraExpress. This guide discusses how HydraExpress generates C++ classes for XML Schema language definitions.
The classes HydraExpress generates make up an ideal, type-safe parser, which is inherently faster and easier to use than a generic parsing API such as DOM or SAX. The classes that HydraExpress generates also make it easy to create XML documents based on the provided XML Schema.
HydraExpress’s XML binding feature set is composed of the code generator and a runtime binding framework. The code generator handles the mapping details of XML Schema entities to cross-platform C++ constructs. The binding framework works with the generated classes to support these operations:
*unmarshal an XML document into a tree of interrelated instances of both existing and schema-derived classes
*marshal the content trees back into XML documents