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)
xsl:choose element is used for selection between several possibilities.
How to find out that some text starts with a number.