Schema Summary
This sample shows an element containing an 'all' group of simple elements. All the elements must appear, but in any order.

Schema Details
The Element 'Name' has 2 child elements FirstName and Surname, both are based on primitives, and thus both are represented as primitive in the generated code. Both elements must be specified, however in the XML they may appear in any order.

Sample Description
The sample demonstrates that the order that elements are held within an 'all' group does not make a difference when it is re-read.

Sample XML File
 Sample1.xml

Sample Code
 Read Sample
 Write Sample

XSD Source Files
 SimpleAll.xsd
 Schema Diagrams

Generated Files
 Name.h
 Name.cpp

Main Menu Samples List