BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XSLT
The XSLT Element: xsl:namespace-alias
The XSLT Element: xsl:message
The XSLT Element: xsl:key
The XSLT Element: xsl:include
The XSLT Element: xsl:import
The XSLT Element: xsl:if
The XSLT Element: xsl:for-each
The XSLT Element: xsl:fallback
The XSLT Element: xsl:element
The XSLT Element: xsl:document
The XSLT Element: xsl:decimal-format
The XSLT Element: xsl:copy
The XSLT Element: xsl:copy-of
The XSLT Element: xsl:comment
The XSLT Element: xsl:choose
The XSLT Element: xsl:call-template
The XSLT Element: xsl:attribute
The XSLT Element: xsl:attribute-set
The XSLT Element: xsl:apply-templates
The XSLT Element: xsl:apply-imports
<< XQuery
.NET and XML >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :1508

 
[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.

Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Integration Specialist Needed - Wor
Virtualization Server Infrastructur
A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En

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




swimming pool builder
chicago web site design
spfxmasks
Cheap Web Hosting
conference calling
Versace 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