RE: Check the value of a element

Subject: RE: Check the value of a element
From: Bovone Stefano <Stefano.Bovone@xxxxxxxx>
Date: Thu, 2 Sep 1999 16:19:11 +0200
No, you have answered to my question.

Thanks a lot.

Bye.

> ----------
> From: 	David Carlisle[SMTP:davidc@xxxxxxxxx]
> Reply To: 	xsl-list@xxxxxxxxxxxxxxxx
> Sent: 	giovedì 2 settembre 1999 15.33
> To: 	xsl-list@xxxxxxxxxxxxxxxx
> Subject: 	Re: Check the value of a element
> 
> 
>    Is it possible to have anything like this:
> 
>    <xsl:template match="/one/two[. > 10]">
>      ...
>    </xsl:template>
> 
>    I want match an element which contain a number and I want to match it
> only
>    if it's value is higher than a certain number.
>    How can I do?
> 
>    Thanks.
> 
> Yes, the example you post is valid xsl syntax and will produce
> '...' for every two element that is a child of the document element
> (which is called one) and has text content which is a number greater
> than 10.
> 
> But I assumed you tried something and it didn't work, so perhaps you
> asked the wrong question?
> 
> David
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread