XSL: Easiest way to find if string a contains numbers
I was wondering about what would be the easiest way to find a, b, c, in d?
Example of my stylesheet:
<xsl:when test="contains($theWord, '1') or contains($theWord, '2')">
<xsl:text>There be a 1 on a 2 in your word!!</xsl:text>
Now what if I wanted to check wether $theWord contained a number would I
then be FORCED to write:
contains($theWord, '0') or contains($theWord, '1') ... or contains($theWord,
or is there a shorter (less typing) to do the same???
A Friendly Greeting
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center