[xsl] Extract string from CDATA value

Subject: [xsl] Extract string from CDATA value
From: Sven Waibel <sven.waibel@xxxxxxxx>
Date: Tue, 30 Nov 2004 11:13:04 +0100
Hi,

how can i extract "test" from <value><![CDATA[test]]></value>?

The problem is that i don't know how many <value><![CDATA[test]]></value> there will be, so i can't use variables.
I know that <xsl:value-of select="value" /> works, but i need the result of extraction in my comparison with another
attribute and you can't say: <xsl:if test="@id = <xsl:value-of select="value" />">.

Thanks and best regards
Sven

Current Thread