3.1.2.3.1 ST_DecimalNumber (Decimal Number Value)

This simple type specifies that its contents will contain a whole decimal number (positive or negative), whose contents are interpreted based on the context of the parent XML element.

[Example: Consider the following WordprocessingML fragment:

 <w:pPr>
   <w:divId w:val="1512645511" /> 
 </w:pPr>

The value of the val attribute is the ID of the associated HTML div.

However, consider the following fragment:

 <w:ilvl w:val="1">
   ...
 </w:ilvl>

In this case, the decimal number in the val attribute is the ID of the associated numbering level. In each case, the value is interpreted in the context of the parent element. end example]

This simple type's contents are a restriction of the XML Schema int datatype.

Referenced By

hash@val3.1.2.2.1.1, hash)

The following XML Schema fragment defines the contents of this simple type:

 <simpleType name="ST_DecimalNumber">
   <restriction base="xsd:int"/>
 </simpleType>
Show: