Survey Tabulation > UNICOM Intelligence Reporter - Survey Tabulation reference > Tables XML schema > Document element
 
Document element
This XSD describes Tables XML. Note that there is a difference between this, the Tables XML that is returned by the GetTablesXml function which is the XML given to the export plug-ins to render and Table Document XML. The latter is the XML that is generated by TableDoc.Save (i.e. it's the persisted TOM Document object - i.e. what is saved in the MTD file). The differences are not huge but you should be wary they exist. The main difference is that this XML does not hold many Document-level entities such as globals
Attributes for Document
Context
Use: optional
Valid values: string
CreatedByVersion
Use: required
Valid values: string
Description
Use: optional
Valid values: string
ImageLocation
Use: optional
Valid values: string
LabelType
Use: optional
Valid values: string
Language
Use: optional
Valid values: string
LastUpdatedByVersion
Use: required
Valid values: string
OutputLocaleId
Use: optional
Valid values: long
RawStatisticsData
Use: optional
Valid values: string
RawStatisticsDataEnabled
Use: optional
Valid values: boolean
XML representation
<xs:element name="Document">
  <xs:all>
    <xs:element name="DataSet">
    </xs:element>
    <xs:element name="GroupedTables">
      <xs:sequence>
        <xs:element ref="Node"/>
      </xs:sequence>
    </xs:element>
    <xs:element name="Tables" minOccurs="0">
      <xs:sequence>
        <xs:element ref="Table" maxOccurs="unbounded"/>
      </xs:sequence>
    </xs:element>
    <xs:element ref="Exports" minOccurs="0"/>
  </xs:all>
  <xs:attribute name="Description" type="xs:string" use="optional"/>
  <xs:attribute name="RawStatisticsData" type="xs:string" use="optional"/>
  <xs:attribute name="Language" type="xs:string" use="optional"/>
  <xs:attribute name="Context" type="xs:string" use="optional"/>
  <xs:attribute name="LabelType" type="xs:string" use="optional"/>
  <xs:attribute name="OutputLocaleId" type="xs:long" use="optional" default="0"/>
  <xs:attribute name="CreatedByVersion" type="xs:string" use="required"/>
  <xs:attribute name="LastUpdatedByVersion" type="xs:string" use="required"/>
  <xs:attribute name="ImageLocation" type="xs:string" use="optional"/>
  <xs:attribute name="RawStatisticsDataEnabled" type="xs:boolean" use="optional" default="false"/>
</xs:element>
Child elements
DataSet element
Exports element
GroupedTables element
Tables element
See also
Tables XML schema