<?xml version="1.0"?>
<!--

    Copyright (C) 2006 W3C (R) (MIT ERCIM Keio), All Rights Reserved.
    W3C liability, trademark and document use rules apply.

    http://www.w3.org/Consortium/Legal/ipr-notice
    http://www.w3.org/Consortium/Legal/copyright-documents

    $Header: /w3ccvs/WWW/2002/ws/databinding/examples/6/05/ConstrainedDecimalType/ConstrainedDecimalType.xsd,v 1.11 2006/09/05 15:06:52 pdowney Exp $

-->

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/05/" elementFormDefault="qualified" attributeFormDefault="unqualified">
   <xs:element xmlns:e="http://www.w3.org/2002/ws/databinding/examples/6/05/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/05/" name="constrainedDecimalType" type="ex:ConstrainedDecimalType"/>
   <xs:simpleType xmlns:e="http://www.w3.org/2002/ws/databinding/examples/6/05/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/05/" name="ConstrainedDecimalType">
      <xs:restriction base="xs:decimal">
         <xs:pattern value="\d{4}\.\d{2}"/>
      </xs:restriction>
   </xs:simpleType>
</xs:schema>
