XSLT extensions

XSLT adds some functions to those defined in the XPath standard. These functions are used to access other documents, find indexed elements, generate unique element identifiers, format numbers, refer to the current node, retrieve URLs from unparsed entities, and discover information about the XSLT processor and the vendor of the software.

Document function

This function is discussed in Chapter 11.

Key function

This function is fully described in Chapter 13.

Generate id function

This function is described in Chapter 13.

Format number function

Numeric values copied from source attributes can be reformatted using the format-number() function. For example, the number '12345.6' may be formatted as '12,345.600'.

This function takes at ...

Get XSL companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.