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]

Re: some help with xsl:if


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


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