<?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/TypeSubstitutionUsingXsiType/TypeSubstitutionUsingXsiType.xsd,v 1.7 2006/09/05 15:07:11 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="assembly" type="ex:Assembly"/>
   <xs:complexType 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="Assembly">
      <xs:sequence>
         <xs:element name="part" minOccurs="0" maxOccurs="unbounded" type="ex:Part"/>
      </xs:sequence>
   </xs:complexType>
   <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="part" type="ex:Part"/>
   <xs:complexType 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="Part">
      <xs:sequence>
         <xs:element name="number" type="xs:string"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType 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="Part2">
      <xs:complexContent>
         <xs:extension base="ex:Part">
            <xs:sequence>
               <xs:element name="description" type="xs:string"/>
            </xs:sequence>
         </xs:extension>
      </xs:complexContent>
   </xs:complexType>
</xs:schema>

