[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Antonio Fiol wrote:
If you really meant <var>, your thing should do the job, provided that it is in the right context. Not sure at all, as I am also a newbie (I began yesterday). You could try doubling the first slash.
Antonio Fiol
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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:59:14 +0200 |
Antonio Fiol wrote:
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>
If you really meant <var>, your thing should do the job, provided that it is in the right context. Not sure at all, as I am also a newbie (I began yesterday). You could try doubling the first slash.
Antonio Fiol
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] some help with xsl:if, Antonio Fiol | Thread | RE: [xsl] some help with xsl:if, Stuart Celarier |
Re: [xsl] Syntax Assistance Needed, Antonio Fiol | Date | Re: [xsl] Maybe newbie..., Jeni Tennison |
Month |
Keywords