2.2.1.1.1 Common XML Schema

Common Schema

 <?xml version="1.0" encoding="utf-8"?>
 <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name=outer-element>
       <xs:complexType>
          <xs:sequence>
             <xs:element maxOccurs="unbounded" name=inner-element>
                <xs:complexType>
                   <xs:sequence>
                      <xs:element name="Properties">
                         <xs:complexType>
                            <xs:sequence>
                               // zero or more schema-specific properties
                            </xs:sequence>
                            <xs:attribute name="action" type="xs:string" use="optional" />
                              // zero or more schema-specific attributes
                         </xs:complexType>
                      </xs:element>
                      <xs:element minOccurs="0" name="Filters">
                      </xs:element>
                   </xs:sequence>
                   <xs:attribute name="clsid" 
                      type="xs:string" use="required" />
                   <xs:attribute name="image" 
                      type="xs:unsignedByte" use="optional" />
                   <xs:attribute name="bypassErrors" 
                      type="xs:boolean" use="optional" />
                   <xs:attribute name="userContext" 
                      type="xs:boolean" use="optional" />
                   <xs:attribute name="removePolicy" 
                      type="xs:boolean" use="optional" />
                   <xs:attribute name="desc" type="xs:string" use="optional" />
                   <xs:attribute name="changed" type="xs:string" use="optional" />
                   <xs:attribute name="uid" type="xs:string" use="required" />
                   <xs:attribute name="name" type="xs:string" use="required" />
                   <xs:attribute name="status" type="xs:string" use="optional" />
                </xs:complexType>
             </xs:element>
          </xs:sequence>
          <xs:attribute name="clsid" type="xs:string" use="required" />
          <xs:attribute name="disabled" type="xs:unsignedByte" use="optional" />
       </xs:complexType>
    </xs:element>
 </xs:schema>
  
Show: