Schema Summary
This sample shows how to deal with mandartory, optional and collections of elements.

Schema Details


Sample Description
The sample demonstrates how to read and write from optional, mandatory and collections of elements, when only the bare minimum of data is included in the XML document.

Sample XML File
 Sample2.xml

Sample Code
 Read Sample
 Write Sample

XSD Source Files
 Cardinality.xsd
 Schema Diagrams

Generated Files
 MyRootObject.cs
 AComplexCollectionElement.cs
 AComplexMandatoryElement.cs
 AComplexOptionalElement.cs

Main Menu Samples List