| Subject: Re: Check the value of a element From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 2 Sep 1999 14:33:02 +0100 (BST) | 
   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
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Check the value of a element, Bovone Stefano | Thread | RE: Check the value of a element, Bovone Stefano | 
| Re: Building a calendar, David Carlisle | Date | Re: multiple special characters in , zun | 
| Month |