[xsl] some help with xsl:if

Subject: [xsl] some help with xsl:if
From: Gabriel C Millerd <gmillerd@xxxxxxxxxxxx>
Date: Fri, 17 May 2002 08:41:29 -0500 (CDT)
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.

---
Gabriel Millerd| "I am just a simple man trying to make my way in the universe."
Sith Admin     |                     --Jango Fett, SW:AOTC


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread