<?xml version="1.0" encoding="UTF-8"?>
<!--

                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
            
		Generated from: $Id: echoElementKey.xsd,v 1.2 2008/12/05 13:49:58 ylafon Exp $
-->
<xs:schema xmlns="http://www.w3.org/2002/ws/databinding/examples/6/09/"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:p="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
           xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
           targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/"
           elementFormDefault="qualified">
   <xs:element xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/"
               xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
               name="elementKey"
               type="ex:ElementKey">
        <xs:key name="key">
          <xs:selector xpath=".//item"/>
          <xs:field xpath="number"/>
        </xs:key>
      </xs:element>
   <xs:complexType xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
                   name="ElementKey">
        <xs:sequence>
          <xs:element name="item" type="ex:itemType" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>
   <xs:complexType xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
                   name="itemType">
        <xs:sequence>
          <xs:element name="number" type="xs:integer"/>
        </xs:sequence>
      </xs:complexType>
   <xs:element name="echoElementKey">
      <xs:complexType>
         <xs:sequence>
            <xs:element ref="ex:elementKey"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
</xs:schema>