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

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.

XSD Source Files
 SimpleAll.xsd
 Schema Diagrams

Sample Name Description C++ C# Java VB.Net VB6
Setting Elements The sample demonstrates that the order that elements are held within an 'all' group does not make a difference when it is re-read.          

Main Menu