[Table of Contents] [docx version]

 

schemaLibrary (Embedded Custom XML Schema Supplementary Data)

This element specifies the set of XML namespaces which have been associated with the contents of the custom XML markup within the current Office Open XML document. Each unique namespace which is referenced within the document may be referenced within this element by a single schema element, regardless of the number of constituent XML schemas which comprise that namespace.

[Example: Consider a WordprocessingML document which contains custom XML markup in two distinct namespaces: the http://www.contoso.com namespace and the http://www.woodgroveBank.com namespace. If the first namespace is defined by a single XML schema, and the second is defined by five XML schemas (which are cross-referenced using the appropriate XML Schema syntax), the following content would be displayed in the document's schema library XML:

<w:schemaLibrary>
<w:schema … />
<w:schema … />
</w:schemaLibrary>

The schemaLibrary element contains only two schema elements even though there are six XML schemas in use, as there are only two distinct namespaces for which data is stored. end example]

Parent Elements

settings2.15.1.78)

 

Child Elements

Subclause

schema (Custom XML Schema Reference)

§8.2.1

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

<complexType name="CT_SchemaLibrary">

   <sequence>

   <element name="schema" type="CT_Schema" minOccurs="0" maxOccurs="unbounded"/>

   </sequence>

</complexType>