[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

id (Unique ID)

This element specifies a unique numerical ID for the parent structured document tag. This ID shall be persisted through multiple sessions (i.e. shall not be changed once specified).

If multiple structured document tags specify the same decimal number value for the id attribute, then the first structured document tag in the document shall maintain this original ID, and all subsequent structured document tags shall have new identifiers assigned to them when the document is opened.

If this element is omitted, then the parent structured document tag shall have a new unique identifier assigned to it when the document is opened.

[Example: Consider the following structured document tag properties:

<w:sdtPr>
<w:id w:val="8775518"/>

</w:sdtPr>

This set of properties specifies via the val attribute on the id element that the ID for the parent structured document shall be 8775518 (subject, of course, to the conflict management and resolution discussed above). end example]

Parent Elements

sdtPr2.5.2.37)

 

Attributes

Description

val (Decimal Number Value)

Specifies that the contents of this attribute will contain a decimal number.

 

The contents of this decimal number are interpreted based on the context of the parent XML element.

 

[Example: Consider the following numeric WordprocessingML property of type ST_DecimalNumber:

 

<w:… w:val="1512645511" />

The value of the val attribute is a decimal number whose value must be interpreted in the context of the parent element. end example]

 

The possible values for this attribute are defined by the ST_DecimalNumber simple type2.18.16).

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

<complexType name="CT_DecimalNumber">

   <attribute name="val" type="ST_DecimalNumber" use="required"/>

</complexType>