This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

some help with xsl:if



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]