2.1.7.22 XML Stream (XML)
The XML Stream specifies one or more XML maps.
The name of the stream MUST be "XML". A file MUST contain at most one XML Stream.
The syntax of the structures contained in this part uses XML schema definition (XSD), as specified in [XMLSCHEMA1/2] and [XMLSCHEMA2/2].
This specification defines and references various XML namespaces using the mechanisms specified in [XMLNS].
The content of this stream is XML as specified by the following XML schema:
-
<?xml version="1.0" encoding="utf-8"?> <s:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" xmlns:s="http://www.w3.org/2001/XMLSchema"> <s:element name="MapInfo"> <s:complexType> <s:sequence> <s:element name="Schema" maxOccurs="unbounded"> <s:complexType> <s:sequence> <s:any processContents="skip" /> </s:sequence> <s:attribute name="ID" type="ST_Xstring65535" use="required" /> <s:attribute name="SchemaRef" type="ST_Xstring65535" /> <s:attribute name="Namespace" type="ST_Xstring65535" /> </s:complexType> </s:element> <s:element name="Map" maxOccurs="unbounded"> <s:complexType> <s:sequence> <s:element name="DataBinding" minOccurs="0"> <s:complexType> <s:sequence> <s:any minOccurs="0" processContents="skip" /> </s:sequence> <s:attribute name="DataBindingName" type="ST_Xstring65535" /> <s:attribute name="FileBinding" type="ST_Xstring65535" use="required" /> <s:attribute name="FileBindingName" type="ST_Xstring65535" /> <s:attribute name="DataBindingLoadMode" type="ST_DataBindingLoadMode" use="required" /> </s:complexType> </s:element> </s:sequence> <s:attribute name="ID" type="ST_XmlMapId" use="required" /> <s:attribute name="Name" type="ST_Xstring256" use="required" /> <s:attribute name="RootElement" type="ST_Xstring65535" use="required" /> <s:attribute name="SchemaID" type="ST_Xstring65535" use="required" /> <s:attribute name="ShowImportExportValidationErrors" type="ST_XmlMapBoolean" use="required"/> <s:attribute name="AutoFit" type="ST_XmlMapBoolean" use="required" /> <s:attribute name="Append" type="ST_XmlMapBoolean" use="required" /> <s:attribute name="PreserveSortAFLayout" type="ST_XmlMapBoolean" use="required" /> <s:attribute name="PreserveFormat" type="ST_XmlMapBoolean" use="required" /> </s:complexType> </s:element> </s:sequence> <s:attribute name="SelectionNamespaces" type="ST_Xstring65535" use="required"/> </s:complexType> </s:element> <s:simpleType name="ST_DataBindingLoadMode"> <s:restriction base="s:unsignedInt"> <s:enumeration value="0" /> <s:enumeration value="1" /> <s:enumeration value="2" /> <s:enumeration value="3" /> <s:enumeration value="4" /> </s:restriction> </s:simpleType> <s:simpleType name="ST_XmlMapBoolean"> <s:restriction base="s:string"> <s:enumeration value="false" /> <s:enumeration value="true" /> </s:restriction> </s:simpleType> <s:simpleType name="ST_XmlMapId"> <s:restriction base="s:unsignedInt"> <s:minInclusive value="1" /> <s:maxInclusive value="2147483647" /> </s:restriction> </s:simpleType> <s:simpleType name="ST_Xstring65535"> <s:restriction base="s:string" /> </s:simpleType> <s:simpleType name="ST_Xstring256"> <s:restriction base="s:string" /> </s:simpleType> </s:schema>