22.9.2.3 ST_FixedPercentage

This simple type specifies that its contents will contain a percentage measurement from -100% up to and including 100%, 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: -?((100)|([0-9][0-
  • 9]?))(.[0-9][0-9]?)?%.

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

Last updated on