Complete XSLT Element Reference
The <xsl:number> element is used to determine the integer position of the current node in the source. It is also used to format a number.
| Attribute | Value | Description |
|---|---|---|
| count | expression | Optional. An XPath expression that specifies what nodes are to be counted |
| level | single multiple any |
Optional. Controls how the sequence number is assigned Can be one of the following:
|
| from | expression | Optional. An XPath expression that specifies where the counting will start |
| value | expression | Optional. Specifies a user-provided number that is used in place of a sequence generated number |
| format | formatstring | Optional. Defines the output format for the number. Can be
one of the following:
|
| lang | languagecode | Optional. Specifies the language alphabet to be used for the numbering (Not supported by Netscape 6) |
| letter-value | alphabetic traditional |
Optional. Specifies whether the numbering in the selected language is alphabetic or traditional. The default is alphabetic |
| grouping-separator | character | Optional. Specifies what character should be used to separate groups of digits. The default is the comma |
| grouping-size | number | Optional. Specifies how many digits are in the groups that are being separated by the character specified in the grouping-separator attribute. The default is 3 |
Complete XSLT Element Reference
Your message has been sent to W3Schools.