Subject: Re: [xsl] some help with xsl:if|
From: Antonio Fiol <fiol@xxxxxxxxxx>
Date: Fri, 17 May 2002 15:59:14 +0200
Gabriel C Millerd wrote:SORRY, I read <xsl:variable> where you said <var>. Sorry again.
I have an XML tag ...
<stuff> <var name="athing">3.14</var> </stuff>
... I am tying to match it but not being successful ...
<xsl:if test="/stuff/var[@name='athing']='3.14'">You matched it!</xsl:if>
... can anyone help me? I think i am close. Thanks very much.
AFAICS, <xsl:if test="$athing=3.14">You matched it!</xsl:if>