home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / security / KBRegistration.xsd < prev    next >
Extensible Markup Language  |  2008-01-19  |  2KB  |  49 lines

  1. <?xml version="1.0"?>
  2. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" 
  3.            xmlns:xs="http://www.w3.org/2001/XMLSchema">
  4.  
  5.  
  6.     <xs:element name="SCWKBRegistration" type="KBRegistrationType"/>
  7.  
  8.     <!-- -->
  9.     <!-- KB Registration Type -->
  10.     <!-- -->
  11.     <xs:complexType name="KBRegistrationType">
  12.         <xs:sequence>
  13.             <xs:element name="Core" type="KBSetType" 
  14.                         minOccurs="1" maxOccurs="1"/>
  15.             <xs:element name="Custom" type="KBSetType" 
  16.                         minOccurs="0" maxOccurs="1"/>
  17.         </xs:sequence>
  18.         <xs:attribute name="OSMajorVersion" type="xs:integer" use="required"/>
  19.         <xs:attribute name="OSMinorVersion" type="xs:integer" use="required"/>
  20.         <xs:attribute name="ServicePackMajorVersion" type="xs:integer" use="required"/>
  21.         <xs:attribute name="ServicePackMinorVersion" type="xs:integer" use="required"/>
  22.     </xs:complexType>
  23.  
  24.     <!-- -->
  25.     <!-- KB Set Type -->
  26.     <!-- -->
  27.     <xs:complexType name="KBSetType">
  28.         <xs:sequence>
  29.             <xs:choice minOccurs="0" maxOccurs="unbounded">
  30.                 <xs:element name="KB" type="KBType" 
  31.                             minOccurs="0" maxOccurs="unbounded"/>
  32.                 <xs:element name="DynamicKB" type="DynamicKBType" 
  33.                             minOccurs="0" maxOccurs="unbounded"/>
  34.             </xs:choice>
  35.         </xs:sequence>
  36.     </xs:complexType>
  37.  
  38.     <xs:complexType name="KBType">
  39.         <xs:attribute name="Name" type="xs:string" use="required"/>
  40.     </xs:complexType>
  41.  
  42.     <xs:complexType name="DynamicKBType">
  43.         <xs:attribute name="Name" type="xs:string" use="required"/>
  44.         <xs:attribute name="DLLPath" type="xs:string" use="required"/>
  45.         <xs:attribute name="FunctionName" type="xs:string" use="required"/>
  46.     </xs:complexType>
  47.  
  48. </xs:schema>
  49.