BizTalk Utilities CV ,   Jobs ,   Code library  
 
 
[XSLT Reference] [XPath Reference] [Download Reference Download this Reference]

Element: xsl:number

For outputting the number of a paragraph or chapter in a specified format. Has very flexible features, to allow for different numbering rules.
Attributes
level
Type:single|multiple|any
The value 'single' counts the location of the nearest node matched by the count attribute (along the ancestor axis) relative to its preceding siblings of the same name. Typical output: chapter number. The value 'multiple' will count the location of the all nodes matched by the count attribute (along the ancestor axis) relative to their preceding siblings of the same name. Typical output: paragraph number of form 4.5.3. The value 'any' will count the location of the nearest node matched by the count attribute (along the ancestor axis) relative to their preceding nodes (not only siblings) of the same name. Typical output: bookmark number
count
Type:pattern
Specifies the type of node that is to be counted
from
Type:pattern
Specifies the starting point for counting
value
Type:number-expression
Used to specify the numeric value directly instead of using 'level', 'count' and 'from'.
format
Type:string
Attribute Value Template
How to format the numeric value to a string (1 becomes 1, 2, 3, ...; a becomes a, b, c, ...)
lang
Type:nmtoken
Attribute Value Template
Language used for alphabetic numbering
letter-value
Type:alphabetic|traditional
Attribute Value Template
Some languages have traditional orders of letters specifically for numbering. These orders are often different from the alphabetic order.
grouping-separator
Type:char
Attribute Value Template
Character to be used for group separation.
grouping-size
Type:number
Attribute Value Template
Number of digits to be separated. grouping-separator=";" and grouping-size="3" causes: 1;000;000
ImplementedW3C 1.0 specification (recommendation)
MSXML 3.0
MSXML 4.0
XML classes in .NET Framework class library
Can contain
Can be contained by[xsl:attribute] [xsl:comment] [xsl:copy] [xsl:element] [xsl:fallback] [xsl:for-each] [xsl:if] [xsl:message] [xsl:otherwise] [xsl:param] [xsl:processing-instruction] [xsl:template] [xsl:variable] [xsl:when]
Examples[Numbering paragraphs and chapters]

Note: You can now download the full content of the XPath reference, the XSLT reference and the DOM reference in one PDF document. This document contains the implementation tables, internal links to navigate through the references, a full linked table of contents. You can use free text search through the whole reference or print as a nicely formatted document. Download here...

© 2000 Teun Duynstee. Shown on TopXML.com. Information used from XSLT and XPath recommendations © W3C and MSDN documentation © Microsoft.
Do you have comments, additions or suggestions, mail me.
 

Recent Jobs

A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En
A Greate Opportunituy as a SQL Deve
An immediate job opportunity as a B

View all Jobs (Add yours)
View all CV (Add yours)



Information Online

swimming pool contractor
chicago web site design
service internet fax
Web Hosting
fax server
Bvlgari sunglasses
answering service


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP