home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW.cab / FL_xdr_xsd_117806________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2009-05-23  |  6KB  |  164 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8"?>
  2. <xsd:schema version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3.     xmlns:xdr="urn:schemas-microsoft-com:xml-data"
  4.     xmlns:dt="urn:schemas-microsoft-com:datatypes"
  5.     targetNamespace="urn:schemas-microsoft-com:xml-data"
  6.     attributeFormDefault="unqualified" elementFormDefault="qualified">
  7.   <xsd:import namespace="urn:schemas-microsoft-com:datatypes"/>
  8.   <xsd:element name="Schema">
  9.     <xsd:annotation>
  10.       <xsd:documentation>The XML-Data Reduced (XDR) schema element </xsd:documentation>
  11.     </xsd:annotation>
  12.     <xsd:complexType>
  13.       <xsd:choice minOccurs="0" maxOccurs="unbounded">
  14.         <xsd:element ref="xdr:AttributeType"/>
  15.         <xsd:element ref="xdr:ElementType"/>
  16.         <xsd:element ref="xdr:description"/>
  17.         <xsd:any namespace="##other" processContents="skip"/>
  18.       </xsd:choice>
  19.       <xsd:attribute name="name" type="xsd:string"/>
  20.       <xsd:attribute name="id" type="xsd:string"/> <!-- ADO recordsets use this -->
  21.       <xsd:anyAttribute namespace="##other" processContents="skip"/>
  22.     </xsd:complexType>
  23.   </xsd:element>
  24.   <xsd:attributeGroup name="required">
  25.     <xsd:attribute name="required">
  26.       <xsd:simpleType>
  27.         <xsd:restriction base="xsd:string">
  28.           <xsd:enumeration value="yes"/>
  29.           <xsd:enumeration value="no"/>
  30.         </xsd:restriction>
  31.       </xsd:simpleType>
  32.     </xsd:attribute>
  33.   </xsd:attributeGroup>
  34.   <xsd:attributeGroup name="content">
  35.     <xsd:attribute name="content">
  36.       <xsd:simpleType>
  37.         <xsd:restriction base="xsd:string">
  38.           <xsd:enumeration value="empty"/>
  39.           <xsd:enumeration value="textOnly"/>
  40.           <xsd:enumeration value="eltOnly"/>
  41.           <xsd:enumeration value="mixed"/>
  42.         </xsd:restriction>
  43.       </xsd:simpleType>
  44.     </xsd:attribute>
  45.   </xsd:attributeGroup>
  46.   <xsd:attributeGroup name="model">
  47.     <xsd:attribute name="model">
  48.       <xsd:simpleType>
  49.         <xsd:restriction base="xsd:string">
  50.           <xsd:enumeration value="open"/>
  51.           <xsd:enumeration value="closed"/>
  52.         </xsd:restriction>
  53.       </xsd:simpleType>
  54.     </xsd:attribute>
  55.   </xsd:attributeGroup>
  56.   <xsd:attributeGroup name="order">
  57.     <xsd:attribute name="order">
  58.       <xsd:simpleType>
  59.         <xsd:restriction base="xsd:string">
  60.           <xsd:enumeration value="one"/>
  61.           <xsd:enumeration value="seq"/>
  62.           <xsd:enumeration value="many"/>
  63.           <xsd:enumeration value="all"/>
  64.         </xsd:restriction>
  65.       </xsd:simpleType>
  66.     </xsd:attribute>
  67.   </xsd:attributeGroup>
  68.   <xsd:attributeGroup name="minmax">
  69.     <xsd:attribute name="minOccurs">
  70.       <xsd:simpleType>
  71.         <xsd:restriction base="xsd:string">
  72.           <xsd:enumeration value="0"/>
  73.           <xsd:enumeration value="1"/>
  74.         </xsd:restriction>
  75.       </xsd:simpleType>
  76.     </xsd:attribute>
  77.     <xsd:attribute name="maxOccurs">
  78.       <xsd:simpleType>
  79.         <xsd:restriction base="xsd:string">
  80.           <xsd:enumeration value="1"/>
  81.           <xsd:enumeration value="*"/>
  82.         </xsd:restriction>
  83.       </xsd:simpleType>
  84.     </xsd:attribute>
  85.   </xsd:attributeGroup>
  86.   <xsd:element name="attribute">
  87.     <xsd:complexType>
  88.       <xsd:attribute name="type" type="xsd:string"/>
  89.       <xsd:attribute name="default" type="xsd:string"/>
  90.       <xsd:attributeGroup ref="xdr:required"/>
  91.     </xsd:complexType>
  92.   </xsd:element>
  93.   <xsd:element name="element">
  94.     <xsd:complexType>
  95.       <xsd:attribute name="type" type="xsd:string"/>
  96.       <xsd:attributeGroup ref="xdr:minmax"/>
  97.     </xsd:complexType>
  98.   </xsd:element>
  99.   <xsd:element name="AttributeType">
  100.     <xsd:complexType>
  101.       <xsd:choice minOccurs="0" maxOccurs="unbounded">
  102.         <xsd:element ref="xdr:datatype"/>
  103.         <xsd:element ref="xdr:description"/>
  104.         <xsd:any namespace="##other" processContents="skip"/>
  105.       </xsd:choice>
  106.       <xsd:attribute name="default" type="xsd:string"/>
  107.       <xsd:attribute name="name" type="xsd:string"/>
  108.       <xsd:attributeGroup ref="xdr:required"/>
  109.       <xsd:attributeGroup ref="dt:typeAttributes"/>
  110.       <xsd:anyAttribute namespace="##other"/>
  111.     </xsd:complexType>
  112.   </xsd:element>
  113.   <xsd:element name="ElementType">
  114.     <xsd:complexType>
  115.       <xsd:choice minOccurs="0" maxOccurs="unbounded">
  116.         <xsd:element ref="xdr:attribute"/>
  117.         <xsd:element ref="xdr:AttributeType"/>
  118.         <xsd:element ref="xdr:element"/>
  119.         <xsd:element ref="xdr:group"/>
  120.         <xsd:element ref="xdr:datatype"/>
  121.         <xsd:element ref="xdr:description"/>
  122.         <xsd:element ref="xdr:extends"/> <!-- ado recordsets use this -->
  123.         <xsd:any namespace="##other" processContents="skip"/>
  124.       </xsd:choice>
  125.       <xsd:attribute name="name" type="xsd:string"/>
  126.       <xsd:attributeGroup ref="xdr:content"/>
  127.       <xsd:attributeGroup ref="xdr:model"/>
  128.       <xsd:attributeGroup ref="xdr:order"/>
  129.       <xsd:attributeGroup ref="dt:typeAttributes"/>
  130.       <xsd:anyAttribute namespace="##other"/>
  131.     </xsd:complexType>
  132.   </xsd:element>
  133.   <xsd:element name="group">
  134.     <xsd:complexType>
  135.       <xsd:choice minOccurs="0" maxOccurs="unbounded">
  136.         <xsd:element ref="xdr:description"/>
  137.         <xsd:element ref="xdr:element"/>
  138.         <xsd:element ref="xdr:group"/>
  139.         <xsd:any namespace="##other" processContents="skip"/>
  140.       </xsd:choice>
  141.       <xsd:attributeGroup ref="xdr:order"/>
  142.       <xsd:attributeGroup ref="xdr:minmax"/>
  143.       <xsd:anyAttribute namespace="##other"/>
  144.     </xsd:complexType>
  145.   </xsd:element>
  146.   <xsd:element name="description">
  147.     <xsd:complexType mixed="true">
  148.       <xsd:choice minOccurs="0" maxOccurs="unbounded">
  149.         <xsd:any processContents="skip" namespace="##any"/>
  150.       </xsd:choice>
  151.     </xsd:complexType>
  152.   </xsd:element>
  153.   <xsd:element name="datatype">
  154.     <xsd:complexType mixed="true">
  155.       <xsd:attributeGroup ref="dt:typeAttributes"/>
  156.       <xsd:anyAttribute namespace="##other"/>
  157.     </xsd:complexType>
  158.   </xsd:element>
  159.   <xsd:element name="extends">
  160.     <xsd:complexType>
  161.       <xsd:attribute name="type" type="xsd:string"/>
  162.     </xsd:complexType>
  163.   </xsd:element>  
  164. </xsd:schema>