<xslTutorial creator="Michael.Kay@icl.com">
<index keywords='translate starts-with xsl:if'/>

<description>How to find out that some text starts with a number.
</description>

<xmlSource id="id1">
<value>125</value>
<value>3aacc</value>
<value>qa111</value>
<value>9-12-45</value>
<value>Q6-88</value>
<value>5-ACD</value>
</xmlSource>

<attValues>
<value match="">
</value>
</attValues>

<xslStylesheet id="id2">
<xsl:template match="/">
<xsl:apply-templates select="//value"/>
</xsl:template>

<xsl:template match="value">
<P>
<xsl:value-of select="."/>
 <xsl:if test="starts-with(translate(., '0123456789', '9999999999'), '9')">
 <xsl:text> (the text starts with a number)</xsl:text>
 </xsl:if>

</P>
</xsl:template>
</xslStylesheet>


</xslTutorial>