I have to check that my XML don't contains sumbol ' in text fields. But I don't know how to order it, because such way it don't work:
<xsl:for-each select="//Surname">
<xsl:if test="contains(text(), ''')">
<xsl:text>ERROR!</xsl:text>
</xsl:if>
</xsl:for-each>
I tried \'
and other variants, it don't works. How it is possible to do?