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

Sample Code
 Read Sample
 Write Sample

XSD Source Files
 Schema Diagrams

Generated Files

Main Menu Samples List