Hi,
I have the following value for @id:
Code:
ctl00_ContentPlaceHolder1_PICList_gridPICList__1_1_2_3row
I want to tokenize by any letter [a-zA-Z] and underscore. In XML Spy, this regex works fine, but in Saxon 9-1-0-7 i get an error:
Code:
<xsl:value-of select="tokenize(@id, '([a-zA-Z])|[\_]')[47]"/>
Error:
Code:
Error at xsl:value-of on line 17 column 69 of 8900-2.xslt:
FORX0002: Error at character 13 in regular expression "([a-zA-Z])|[\_]": invalid escape sequence
Any thoughts?
thx