<!-- Schema defined in the Resource Representation SOAP Header Block
     Recommendation:
     http://www.w3.org/TR/soap12-rep/ 
     $Id: representation.xsd,v 1.2 2007/02/21 16:37:37 ylafon Exp $

     Copyright (C)2003 W3C(R) (MIT, ERCIM, Keio), All Rights Reserved.
     W3C viability, trademark, document use and software licensing rules
     apply.
     http://www.w3.org/Consortium/Legal/

     This document is governed by the W3C Software License [1] as
     described in the FAQ [2].

     [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
     [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
-->

<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' 
           xmlns:tns='http://www.w3.org/2004/08/representation'
           targetNamespace='http://www.w3.org/2004/08/representation' >

  <!-- Representation SOAP Header block -->
  <xs:element name='Representation' type='tns:Representation' />
  <xs:complexType name='Representation' >
    <xs:sequence>
      <xs:element ref='tns:Data' />
      <xs:any namespace='##other' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
    </xs:sequence>
    <xs:attribute name='resource' type='xs:anyURI' use='required' />
    <xs:attribute name='reinsert' type='xs:boolean' />
    <xs:anyAttribute namespace='##other' processContents='lax' />
  </xs:complexType>

  <xs:element name='Data' type='tns:Data' />
  <xs:complexType name='Data' >
    <xs:simpleContent>
      <xs:extension base='xs:base64Binary' >
        <xs:anyAttribute namespace='##other' processContents='lax' />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

</xs:schema>

