[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

Schema (XML Schema)

This element contains the XML tree for an attached schema.

Parent Elements

MapInfo3.16.3)

 

Child Elements

Subclause

Any element from any namespace

n/a

 

Attributes

Description

ID (Schema ID)

Specifies the unique name or ID for this attached schema.

[Example:

ID = "Schema1"

end example]

 

The possible values for this attribute are defined by the XML Schema string datatype.

Namespace (Schema Root Namespace)

Specifies the namespace used by the schema.

 

[Example:

 

<MapInfo SelectionNamespaces="…">
<Schema ID="Schema1" Namespace="…">

 

end example]

 

The possible values for this attribute are defined by the XML Schema string datatype.

SchemaRef (Schema Reference)

The schemaRef attribute is used in the specific case where the schema definition happens to include another XSD that contributes to the same namespace. The value of this attribute is the relative path to a "root" XSD on disk which in turn references the other XDS files contributing type definitions to the same namespace.

 

The possible values for this attribute are defined by the XML Schema string datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Schema">

   <sequence>

   <any/>

   </sequence>

   <attribute name="ID" type="xsd:string" use="required"/>

   <attribute name="SchemaRef" type="xsd:string" use="optional"/>

   <attribute name="Namespace" type="xsd:string" use="optional"/>

</complexType>