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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format