[xsl] Comparing CDATA value and attribute

Subject: [xsl] Comparing CDATA value and attribute
From: Sven Waibel <sven.waibel@xxxxxxxx>
Date: Wed, 24 Nov 2004 09:47:24 +0100
Good morning,

i got it.

You have to look "inside" the value, because of the xml file <value><![CDATA[1]]></value>

I solved it this way:

<xsl:if test="contains(parameter/value,@id)">
..

It's not a real comparison, but it works for me.

Thanks all,

Sven

Current Thread