M
Michael
Hallo,
for some reasons of calling functions with parameters, i have to test
if a text-node contains an apostrophe. My problem is that i cannot
write something like <xsl:if test="contains(., ''')">.
So i tried using entities or escaping, like that:
<xsl:if test="contains(., ''')">
or:
<xsl:if test="contains(., '\'')">
but both didn't work.
Further problem is that i have to translate these apostrophes into
escaped ones like \' (<xsl:value-of select="translate(., ''',
'\'')" /> or <xsl:value-of select="translate(., '\'', '\'')" />).
Is there any way solving this problem.
Thanks a lot for your help.
Michael
for some reasons of calling functions with parameters, i have to test
if a text-node contains an apostrophe. My problem is that i cannot
write something like <xsl:if test="contains(., ''')">.
So i tried using entities or escaping, like that:
<xsl:if test="contains(., ''')">
or:
<xsl:if test="contains(., '\'')">
but both didn't work.
Further problem is that i have to translate these apostrophes into
escaped ones like \' (<xsl:value-of select="translate(., ''',
'\'')" /> or <xsl:value-of select="translate(., '\'', '\'')" />).
Is there any way solving this problem.
Thanks a lot for your help.
Michael