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 >
Wrap
Extensible Markup Language
|
2008-01-19
|
2KB
|
49 lines
<?xml version="1.0"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="SCWKBRegistration" type="KBRegistrationType"/>
<!-- -->
<!-- KB Registration Type -->
<!-- -->
<xs:complexType name="KBRegistrationType">
<xs:sequence>
<xs:element name="Core" type="KBSetType"
minOccurs="1" maxOccurs="1"/>
<xs:element name="Custom" type="KBSetType"
minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="OSMajorVersion" type="xs:integer" use="required"/>
<xs:attribute name="OSMinorVersion" type="xs:integer" use="required"/>
<xs:attribute name="ServicePackMajorVersion" type="xs:integer" use="required"/>
<xs:attribute name="ServicePackMinorVersion" type="xs:integer" use="required"/>
</xs:complexType>
<!-- -->
<!-- KB Set Type -->
<!-- -->
<xs:complexType name="KBSetType">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="KB" type="KBType"
minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="DynamicKB" type="DynamicKBType"
minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="KBType">
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="DynamicKBType">
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="DLLPath" type="xs:string" use="required"/>
<xs:attribute name="FunctionName" type="xs:string" use="required"/>
</xs:complexType>
</xs:schema>