Re: [xsl] some help with xsl:if

Subject: Re: [xsl] some help with xsl:if
From: Antonio Fiol <fiol@xxxxxxxxxx>
Date: Fri, 17 May 2002 15:51:38 +0200
Gabriel C Millerd wrote:

I have an XML tag ...

<var name="athing">3.14</var>

... 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.


<xsl:if test="$athing=3.14">You matched it!</xsl:if>

Antonio Fiol

XSL-List info and archive:

Current Thread