This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: some help with xsl:if
- From: Antonio Fiol <fiol at w3ping dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 17 May 2002 15:51:38 +0200
- Subject: Re: [xsl] some help with xsl:if
- References: <Pine.LNX.4.44.0205170837570.29786-100000@c7000>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Gabriel C Millerd wrote:
>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>
Antonio Fiol
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list