22.5.2.1 datastoreItem

This element specifies the properties for a single custom XML part inside of an Office Open XML document. The set of properties specified within this element are attached to the custom XML part that specifies a relationship to this part.

[Example: Consider the following content for a custom XML part properties part:

<ds:datastoreItem ds:itemID="{A67AC88A-A164-4ADE-8889-8826CE44DE6E}">
  <ds:schemaRefs>
    <ds:schemaRef ds:uri="http://www.example.com/exampleSchema" />
  </ds:schemaRefs>
</ds:datastoreItem>

The datastoreItem element contains the properties for the custom XML part that referenced it; specifically, a part ID of A67AC88A-A164-4ADE-8889-8826CE44DE6E, and a single XML Schema reference to a schema with a target namespace of http://www.example.com/exampleSchema. end example]

Attributes

itemID (Custom XML Data ID)

Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML part within an Office Open XML document.

Each itemID value shall be unique among all custom XML data parts in this document. If a document contains duplicate itemID values, then the first value should be persisted, and subsequent values should be reassigned.

[Example: Consider the following content for a custom XML part properties part:

<w:datastoreItem w:itemID="{A67AC88A-A164-4ADE-8889-
  8826CE44DE6E}">
</w:datastoreItem>

The itemID attribute specifies that the ID associated with the parent custom XML part is

The possible values for this attribute are defined by the ST_Guid simple type (22.9.2.4).

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

Last updated on