7.5 CMTL File Schema

CMTL Schema Element (parent)

Description and Attributes

commentDefinitionResources

Root element for a CMTL file.

revision: Revision number of the schema.

schemaVersion: Schema version.

resources (commentDefinitionResources)

Root element for the <stringTable> element. Provides a container element for comments stored as <string> elements in the <stringTable>. If a language-specific CMTL file is found, comments are loaded from the <stringTable> contained in this <resources> element.

stringTable (resources)

Root element for the <string> elements.

string (stringTable)

Language-specific string indexed by the "id" attribute.

id: A reference unique to all id values in this CMTL file, used as a lookup value.

CMTL.xsd:      

    
 <?xml version="1.0" encoding="utf-8"?>
 <xsd:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.microsoft.com/GroupPolicy/CommentDefinitions">
   <xs:element name="commentDefinitionResources">
     <xs:complexType>
       <xs:sequence>
         <xs:element name="resources">
           <xs:complexType>
             <xs:sequence>
               <xs:element name="stringTable">
                 <xs:complexType>
                   <xs:sequence>
                     <xs:element name="string" maxOccurs="unbounded">
                       <xs:complexType>
                         <xs:simpleContent>
                           <xs:extension base="xs:string">
                             <xs:attribute name="id" type="xs:string" use="required" />
                           </xs:extension>
                         </xs:simpleContent>
                       </xs:complexType>
                     </xs:element>
                   </xs:sequence>
                 </xs:complexType>
               </xs:element>
             </xs:sequence>
           </xs:complexType>
         </xs:element>
       </xs:sequence>
       <xs:attribute name="revision" type="xs:decimal" use="required" />
       <xs:attribute name="schemaVersion" type="xs:decimal" use="required" />
     </xs:complexType>
   </xs:element>
 </xsd:schema>