This text file contains sample code fragments from: Section 13.4 - Incorporating Industry Schemas Chapter 13 - Advanced XML Schema Part II: Reusability, Relational Design, and Industry Schemas Book - Web Service Contract Design & Versioning for SOA Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl Site - www.soabooks.com ... Example 13.16 - A custom schema referring to elements from an industry schema (in another namespace). --------------------------- Copyright GS1, 2007 GS1 is providing this XML Schema Definition file and resultant XML file as a service to interested industries. This XML Schema Definition file and resultant XML file were developed through a consensus process of interested parties. Although efforts have been made to ensure that the XML Schema Definition file and resultant XML file are correct, reliable, and technically accurate, GS1 makes NO WARRANTY, EXPRESS OR IMPLIED, THAT THIS XML Schema Definition file and resultant XML file ARE CORRECT, WILL NOT REQUIRE MODIFICATION AS EXPERIENCE AND TECHNOLOGICAL ADVANCES DICTATE, OR WILL BE SUITABLE FOR ANY PURPOSE OR WORKABLE IN ANY APPLICATION, OR OTHERWISE. Use of the XML Schema Definition file and resultant XML file are with the understanding that GS1 has no liability for any claim to the contrary, or for any damage or loss of any kind or nature. Version Information: Version Number: 2.2 Date of creation: August 2007 The schema and subsequent updates will be provided on the GS1 websites. --------------------------- Example 13.17 - The contents of the GS1 ElectronicGamePlayerInformation.xsd schema. ... ... Example 13.18 - The GameType construct using a GS1 standard type. AY2344 1234567890123 ... 2 15 1 10 Example 13.19 - An instance of the Game type that uses GS1 elements. ... t Example 13.20 - A UBL 2.0 schema containing extension definitions. Some schema annotations have been removed for brevity. Example 13.21 - The UBL ExtensionContentType complex type and the ExtensionContent global element. 2.0 urn:oasis:names:specification: ubl:xpath:Order-2.0:sbs-1.0-draft bpid:urn:oasis:names:draft:bpss: ubl-2-sbs-order-with-simple-response-draft 12345 2006-10-15 444403 Neighborhood Game Stores, Inc. 300 Main St. 123 Cleveland 37311 OH US Steve Smith 231-555-1122 5100 Garfield Road Traverse City 49686 MI US 1 12 29.99 Service Blaster 2000 AY2345 2 8 19.95 Extreme Composition - Special Edition BB1764 Example 13.22 - A purchase order document instance expressed with UBL 2.0. 1 255 2 2 415 3 2.0 ... Example 13.23 - An XML purchase order document instance containing a mix of UBL and custom elements. The UBL elements appear either with no prefix or the cac:, cbc:, or ext: prefixes (mapped to UBL namespaces). The custom elements appear with the mmo: prefix. Example 13.24 - The MegaEuroMart schema declaring custom purchase order elements.