Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress XML Binding Development Guide

3.2 Types Concepts

Complex types are used to describe elements that have sub-elements, carry attributes, or both. Simple types describe elements that contain, numbers, text, dates, etc. as values. Attributes on elements can be only simple types. HydraExpress provides a mapping from XML Schema concepts to C++ language constructs.

3.2.1 XML Document for Purchase Order Example

The XML below is an example purchase order illustrated in section 2 of the XML Schema Part 0: Primer.

3.2.2 XML Schema for Purchase Order Example

The purchase order XML document above is described by the following XML Schema, also illustrated in the XML Schema Part 0: Primer document. Note the complex types, and top-level elements that are complex types, all marked in boldface:



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.