This text file contains sample code fragments from: Section 12.2 - Type Inheritance and Composition 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.15 - A complexType element with an abstract attribute set to "true," thereby effectively establishing an abstract product type. Example 12.16 - The GameType complex type using the xsd:extension element to reference the ProductType complex type. AY2344 1234567890123 Service Blaster 2000 This is a great game. 29.99 true true 1 3 EC 1.1 true Example 12.17 - An instance of the GameType complex type. All highlighted parts are inherited. Example 12.18 - The XML schema for the derived console type. Example 12.19 - An xsd:group is defined at the top level of the schema, as a child of xsd:schema. Example 12.20 - The GameType element pulls in the contents of the ProductProperties group via the use of the ref attribute of the group element. Example 12.21 - A complex type that uses the GameType child element for composition. AY2344 1234567890123 Service Blaster 2000 This is a great game. 29.99 true true 1 3 EC 1.1 true Example 12.22 - An instance of a document based on the derived GameType complex type.