September 2002
Intermediate to advanced
1008 pages
22h 3m
English
A complex type can specify multiple element types. An XML instance might contain an element whose element type’s structure type is this complex type; the XML instance contains nested elements. Listing 11.3 demonstrates how to create an XML representation of a complex type that contains nested element types. The thematic catalog example has a partOptionType complex type. This partOptionType permits a catalog entry to have a nested color, size, or both.
<xsd:complexType name="partOptionType" block="#all" final="#all" id="partOptionType.catalog.cType"> <xsd:annotation> <xsd:documentation xml:lang="en"> Appropriate ... |
Read now
Unlock full access