Basic Purchase Order Example
Purpose
This example illustrates the basic steps of how to use HydraExpress to create an XML binding. This example uses the Purchase Order example, as presented in the document XML Schema Part 0: Primer. To view this document, go to http://www.w3.org/TR/xmlschema-0/.
The Purchase Order example defines an XML instance document that was generated by a home products ordering and billing application. The XML document has a schema associated with it. This schema defines both complex and simple types and defines how they are used to form an XML document that is understood by the home products ordering and billing application.
HydraExpress provides the example po.xsd in the directory shown below, where installdir represents the location of your HydraExpress installation.
 
installdir\examples\xmlbinding\basic\po.xsd
This chapter describes how to use HydraExpress to generate C++ classes using the rwsfgen command, which generates C++ header and source files, makefiles, a sample application file, and HTML API documentation.
The XML Schema recommendation is copyright © 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/. The XML Schema Part 0: Primer document was endorsed as a W3C Recommendation on May 2, 2001.