<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: 2000-12-19-mdean-example.xsd,v 1.2 2000/12/19 06:56:53 mdean Exp $ -->

<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" 
            xmlns="http://www.w3.org/2000/10/XMLSchema"
            elementFormDefault="qualified">

  <simpleType name="ssn">
    <annotation>Social Security Number</annotation>
    <restriction base="xsd:string">
      <pattern value="\d(3)-\d(2)-\d(4)"/>
    </restriction>
  </simpleType>

  <simpleType name="age">
    <restriction base="nonNegativeInteger"/>
  </simpleType>

</xsd:schema>
