This text file contains sample code fragments from:
Section 6.2 - Elements and Attributes
Chapter 6 - Fundamental XML Schema: Types and Message Structure Basics
Book - Web Service Contract Design & Versioning for SOA
Series - The Prentice Hall Service Technology Series from Thomas Erl
Site - www.servicetechbooks.com
1234567890123
Service Blaster 2000
Example 6.1 - A simple XML document instance. The highlighted text represents an XML vocabulary comprised of three elements and
one attribute.
Example 6.2 - An XML schema that corresponds to the XML document instance from the previous example. The statements associated
with the highlighted name attributes give us an idea of how an XML schema defines the structure of an XML document.
Example 6.5 - gtin and title are declared as global elements.