2.2.3.2 XML Schema

This section specifies the overall XML schema for exporting and importing FSRM directory quota templates, file screen templates, and file groups. The following referenced elements are specified in sections that follow:

  • <Action> element (section 2.2.3.2.1)

  • <DatascreenTemplate> element (section 2.2.3.2.2)

  • <FileGroup> element (section 2.2.3.2.3)

  • <QuotaTemplate> element (section 2.2.3.2.4)

     <?xml version="1.0" encoding="utf-8"?>
     <xs:schema id="Root" xmlns=""
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
      
     <!-guidType Definition-->
     <!—Action Definition-->
     <!—QuotaTemplate Definition-->
     <!—FileGroup Definition-->
     <!—FileScreenTemplate Definition-->
      
       <xs:element name="Root" msdata:IsDataSet="true"
                                       msdata:UseCurrentLocale="true">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Header">
               <xs:complexType>
                 <xs:attribute name="DatabaseVersion" type="xs:decimal"
                                                      use="required"/>
               </xs:complexType>
             </xs:element>
             <xs:element name="QuotaTemplates">
               <xs:complexType>
                 <xs:sequence>
                   <xs:element ref="QuotaTemplate" minOccurs="0"
                                                   maxOccurs="unbounded"/>
                 </xs:sequence>
               </xs:complexType>
             </xs:element>
             <xs:element name="DatascreenTemplates">
               <xs:complexType>
                 <xs:sequence>
                   <xs:element ref="DatascreenTemplate" minOccurs="0"
                                                   maxOccurs="unbounded"/>
                 </xs:sequence>
               </xs:complexType>
             </xs:element>
             <xs:element name="FileGroups">
               <xs:complexType>
                 <xs:sequence>
                   <xs:element ref="FileGroup" minOccurs="0"
                                               maxOccurs="unbounded"/>
                 </xs:sequence>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:schema>
    

Header: This attribute MUST be present. It contains the header information for the XML file.

DatabaseVersion: This attribute MUST be present. It contains the version of the database information in the XML file. For FSRM version 1.0, the version of the database information MUST be 2.0.

QuotaTemplates: This element MUST be present and MUST occur only once in the XML file. It is the container for the individual directory quota templates.

QuotaTemplate: If present, this element MUST contain all the information listed under the <QuotaTemplate> element (section 2.2.3.2.4).

DatascreenTemplates: This element MUST be present and MUST occur only once in the XML file. It is the container for the individual file screen templates.

DatascreenTemplate: If present, this element MUST contain all of the information listed under the <DatascreenTemplate> element (section 2.2.3.2.2).

FileGroups: This element MUST be present and MUST occur only once in the XML file. It is the container for the individual file groups.

FileGroup: If present, this element MUST contain all of the information listed under the <FileGroup> element (section 2.2.3.2.3).