This text file contains sample code fragments from: Section 12.1 - Message Flexibility and Constraint Granularity Chapter 12 - Advanced XML Schema Part I: Message Flexibility, Type Inheritance, and Composition Book - Web Service Contract Design & Versioning for SOA Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl Site - www.soabooks.com Example 12.1 - The xsd:any element establishing a wildcard as part of the LineItemType complex type. AY2345 Service Blaster 2000 This is a reorder. 1.0 Example 12.2 - An instance of the LineItemType complex type containing two replacement elements (highlighted). Example 12.3 - The xsd:anyAttribute element establishing an attribute wildcard as part of the LineItemType complex type. AY2345 Service Blaster 2000 This is a reorder. 1.0 Example 12.4 - An instance of the LineItemType complex type containing both replacement elements and a replacement attribute (highlighted). Example 12.5 - The extension global element with a complex type that acts as an "extension bucket." AY2345 Service Blaster 2000 This is a reorder. 1.0 Example 12.6 - An instance of the lineItem element within the extension construct acting as the "bucket." Example 12.7 - The updated schema using the xsd:anyType type. ... true true 1 3 EC Example 12.8 - The game construct with a set of different child elements, each of which represents a specific feature of the game. ... true true 1 3 EC Example 12.9 - The game construct with a set of the same feature child elements, each of which identifies a feature of the game via its name attribute. ( Example 12.10 - The GameType complex type with child elements that provide generic feature capabilities. Example 12.11 - A nested xsd:choice group that allows either a state or a province element to appear within the AddressType construct. Example 12.12 - A complexType construct with a repeating xsd:choice group. Example 12.13 - The xsd:all construct representing the comment and lineItems elements. Because neither child element has a minOccurs attribute, the default behavior of this group will require that both be displayed. Example 12.14 - A standard xsd:sequence group that establishes a specific order.