This text file contains example code from: Chapter 9 - Service-Orientation with .NET Part I: Service Contracts and Interoperability Book - SOA with .NET & Windows Azure: Realizing Service-Orientation with the Microsoft Platform Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl (www.soabooks.com/community) Certification - These examples are used as part of the Certified SOA .NET Developer curriculum (www.soaschool.com) <programlisting linenumbering="unnumbered"><xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema targetNamespace="http://schemas.example.org/ enterprise/models/v1" xmlns="http://schemas.example.org/ enterprise/models/v1" xmlns:mstns="http://schemas.example.org/ enterprise/models/v1" version="1.0.1" elementFormDefault="qualified"> <<emphasis role="pd_red">xs:simpleType name="gender"</emphasis>> <xs:restriction base="xs:string"> <xs:enumeration value="male" /> </xs:enumeration value="female" /> </xs:restriction> </xs:simpleType> </xs:schema></programlisting> </example>