Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress XML Binding Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

3.2 Types Concepts

Complex types are used to describe elements that either have sub-elements or carry attributes, or both. Simple types describe elements that contain numbers, text, dates, etc. 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 DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.