Functions


Predicates, conditional elements like xsl:if or xsl:when, or output generators can also use functions.

For example: test whether the substring in the current element's content, starting at character #5 and having two characters, can be converted to the number 25:

   <xsl:if test="number(substring(.,5,2))=25">

There are around 35 functions, including