Schema class

Office 2013 and later

XML Schema. When the object is serialized out as xml, its qualified name is x:Schema.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

Schema (XML Schema)

This element contains the XML tree for an attached schema.

[Note: This element is not intended to reintroduce transitional schema into the strict conformance class. end note]

Parent Elements

MapInfo (§18.16.3)

Child Elements

Subclause

Any element in 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 W3C 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 W3C XML Schema string datatype.

SchemaLanguage (Schema Language)

Specifies the media type of the schema language.

[Example:

<Schema … SchemaLanguage="application/relax-ng-compact-syntax"/>

end example]

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

SchemaRef (Schema Reference)

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

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

[Note: The W3C XML Schema definition of this element’s content model (CT_Schema) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: