[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

numId (Numbering Definition Instance Reference)

This element specifies the numbering definition instance which shall be used for the given parent numbered paragraph in the WordprocessingML document.

A value of 0 for the val attribute shall never be used to point to a numbering definition instance, and shall instead only be used to designate the removal of numbering properties at a particular level in the style hierarchy (typically via direct formatting).

[Example: Consider the WordprocessingML below for an example numbered paragraph:

<w:p>
<w:pPr>
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="5" />
</w:numPr>
</w:pPr>

</w:p>

This paragraph references a numbering definition instance with a numId attribute of 5, as follows:

<w:num w:numId="5">
<w:abstractNumId w:val="4" />

</w:num>

The numbering definition instance reference specifies the given numbering definition instance to be applied to the given paragraph, which itself inherits its properties from abstract numbering definition with abstractNumId of 4. end example]

Parent Elements

numPr2.3.1.19)

 

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>