home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / System32 / tcpmon.dll / 100 / 1
Text File  |  2008-01-19  |  7KB  |  155 lines

  1. <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:bidi="http://schemas.microsoft.com/windows/2005/03/printing/bidi" targetNamespace="http://schemas.microsoft.com/windows/2005/03/printing/bidi">
  2. <annotation>
  3.     <documentation>
  4.         BiDi Extension XML Schema Version 0.1 (c) Microsoft Corporation 2002
  5.  
  6.         This pre-release software is confidential information of Microsoft Corporation
  7.         and is made available under the terms of Microsoft Corporation's Technical Documentation Agreement
  8.         or Input License Agreement for Auto Config Cookbook.
  9.     </documentation>
  10. </annotation>
  11.  
  12. <element name="Schema">
  13.     <complexType>
  14.         <sequence minOccurs="1" maxOccurs="unbounded">
  15.             <element name="Property" type="bidi:PROPERTY"/>
  16.         </sequence>
  17.     </complexType>
  18. </element>
  19.  
  20. <complexType name="PROPERTY">
  21.     <sequence minOccurs="1" maxOccurs="unbounded">
  22.         <choice>
  23.             <element name="Property"        type="bidi:PROPERTY"/>
  24.             <element name="IndexedProperty" type="bidi:INDEXED_PROPERTY"/>
  25.             <element name="Const"           type="bidi:CONST"/>
  26.             <element name="Value"           type="bidi:VALUE"/>
  27.             <element name="Installed"       type="bidi:INSTALLED"/>
  28.             <element name="BuiltIn"         type="bidi:BUILT_IN"/>
  29.             <element name="InputBin"        type="bidi:BIN"/>
  30.             <element name="OutputBin"       type="bidi:BIN"/>
  31.             <element name="Converter"       type="bidi:CONVERTER"/>
  32.         </choice>
  33.     </sequence>
  34.     <attribute name="name" type="bidi:PROPERTY_NAME" use="required"/>
  35. </complexType>
  36.  
  37. <simpleType name='PROPERTY_NAME'>
  38.     <restriction base='string'>
  39.         <pattern value='\w+'/>
  40.     </restriction>
  41. </simpleType>
  42.  
  43. <complexType name="INDEXED_PROPERTY">
  44.     <sequence minOccurs="1" maxOccurs="unbounded">
  45.         <choice>
  46.             <element name="IndexedProperty"    type="bidi:INDEXED_PROPERTY"/>
  47.             <element name="NonIndexedProperty" type="bidi:NON_INDEXED_PROPERTY"/>
  48.             <element name="Value"              type="bidi:VALUE"/>
  49.             <element name="BuiltIn"            type="bidi:BUILT_IN"/>
  50.             <element name="Converter"          type="bidi:CONVERTER"/>
  51.         </choice>
  52.     </sequence>
  53.     <attribute name="name" type="bidi:PROPERTY_NAME" use="required"/>
  54. </complexType>
  55.  
  56. <complexType name="NON_INDEXED_PROPERTY">
  57.     <complexContent>
  58.         <extension base="bidi:INDEXED_PROPERTY"/>
  59.     </complexContent>
  60. </complexType>
  61.  
  62. <simpleType name="BIDI_TYPE">
  63.     <restriction base="string">
  64.         <enumeration value="BIDI_INT"/>
  65.         <enumeration value="BIDI_ENUM"/>
  66.         <enumeration value="BIDI_STRING"/>
  67.         <enumeration value="BIDI_TEXT"/>
  68.         <enumeration value="BIDI_FLOAT"/>
  69.         <enumeration value="BIDI_BOOL"/>
  70.         <enumeration value="BIDI_BLOB"/>
  71.     </restriction>
  72. </simpleType>
  73.  
  74. <simpleType name="OID">
  75.     <restriction base="string">
  76.         <pattern value="[0-9]+(\.[0-9]+)*"/>
  77.     </restriction>
  78. </simpleType>
  79.  
  80. <complexType name="CONST">
  81.     <attribute name="name"              type="bidi:VALUE_NAME"   use="required"/>
  82.     <attribute name="type"              type="bidi:BIDI_TYPE"    use="required"/>
  83.     <attribute name="value"             type="string"            use="required"/>
  84. </complexType>
  85.  
  86. <complexType name="VALUE">
  87.     <attribute name="name"              type="bidi:VALUE_NAME"   use="required"/>
  88.     <attribute name="type"              type="bidi:BIDI_TYPE"    use="required"/>
  89.     <attribute name="oid"               type="bidi:OID"          use="required"/>
  90.     <attribute name="deviceIndex"       type="boolean"           use="optional"/>
  91.     <attribute name="refreshInterval"   type="integer"           use="optional"/>
  92.     <attribute name="drvPrinterEvent"   type="boolean"           use="optional"/>
  93. </complexType>
  94.  
  95. <complexType name="INSTALLED">
  96.     <sequence minOccurs="0" maxOccurs="unbounded">
  97.         <element name="Lookup">
  98.             <complexType>
  99.                 <attribute name="value" type="string" use="required"/>
  100.             </complexType>
  101.         </element>
  102.     </sequence>
  103.     <attribute name="name"              type="bidi:VALUE_NAME"   use="required"/>
  104.     <attribute name="oid"               type="bidi:OID"          use="required"/>
  105.     <attribute name="deviceIndex"       type="boolean"           use="optional"/>
  106.     <attribute name="refreshInterval"   type="integer"           use="optional"/>
  107.     <attribute name="drvPrinterEvent"   type="boolean"           use="optional"/>
  108. </complexType>
  109.  
  110. <complexType name="CONVERTER">
  111.     <sequence minOccurs="0" maxOccurs="unbounded">
  112.         <element name="Conversion">
  113.             <complexType>
  114.                 <attribute name="mibValue" type="string" use="required"/>
  115.                 <attribute name="bidiValue" type="string" use="required"/>
  116.             </complexType>
  117.         </element>
  118.     </sequence>
  119.     <attribute name="name"              type="bidi:VALUE_NAME"   use="required"/>
  120.     <attribute name="oid"               type="bidi:OID"          use="required"/>
  121.     <attribute name="deviceIndex"       type="boolean"           use="optional"/>
  122.     <attribute name="refreshInterval"   type="integer"           use="optional"/>
  123.     <attribute name="drvPrinterEvent"   type="boolean"           use="optional"/>
  124.     <attribute name="useFirstIndex"     type="boolean"           use="optional"/>
  125. </complexType>
  126.  
  127. <complexType name="BIN">
  128.     <sequence minOccurs="0" maxOccurs="unbounded">
  129.         <choice>
  130.             <element name="BinValue">
  131.                 <complexType>
  132.                     <attribute name="name"              type="bidi:VALUE_NAME"   use="required"/>
  133.                     <attribute name="type"              type="bidi:BIDI_TYPE"    use="required"/>
  134.                     <attribute name="valueId"           type="positiveInteger"   use="required"/>
  135.                     <attribute name="drvPrinterEvent"   type="boolean"           use="optional"/>
  136.                 </complexType>
  137.             </element>
  138.             <element name="BuiltIn" type="bidi:BUILT_IN"/>
  139.         </choice>
  140.     </sequence>
  141.     <attribute name="name"              type="bidi:PROPERTY_NAME"   use="required"/>
  142.     <attribute name="mibName"           type="string"               use="required"/>
  143.     <attribute name="refreshInterval"   type="integer"              use="optional"/>
  144. </complexType>
  145.  
  146. <simpleType name='VALUE_NAME'>
  147.     <restriction base='string'>
  148.         <pattern value='\w+'/>
  149.     </restriction>
  150. </simpleType>
  151.  
  152. <complexType name="BUILT_IN" abstract="true"/>
  153.  
  154. </schema>
  155.