Conditional processing

[Example 20] <C>

xsl:if instruction enables conditional processing. This stylesheet demonstrates a typical case of xsl:for-each usage, adding a text between individual entries. Very often you do not want to add text after the last element. xsl-if construct comes handy here. (This stylesheet)

[Example 22] <C>

xsl:choose element is used for selection between several possibilities.

[Example 83] <C>

How to find out that some text starts with a number.