22.9.2.11 ST_PositivePercentage

This simple type specifies that its contents will contain a positive percentage measurement, including a trailing percent sign (U+0025).

[Example: Consider the following WordprocessingML fragment:

<w:tcPr>
  <w:tcW w:type="pct" w:w="33.3%" />
</w:pPr>

The value of the w attribute is the width of the associated table cell. end example]

This simple type’s contents are a restriction of the ST_Percentage datatype (22.9.2.9).

This simple type also

specifies the following restrictions:

  • This simple type’s contents shall match the following regular expression pattern: [0-9]+(.[0-9]+)?%.

[Note: The W3C XML Schema definition of this simple type’s content model (ST_PositivePercentage) is located in A.6.9. end note]

Last updated on