David: Sorry, I did not overlook your original comment on this topic, but
felt the subject was left open to persue a solution. I have to have one!
What is an XSLT Construct?
Would something like this work? (I guess I don't understand the
restrictions).
<xsl:apply-templates select="ABC[(_at_)val1 > 5 and @val2 < 5]"/>
<XML>
<ABC val1="6" val2="9"/>
<ABC val1="7" val2="20"/>
<ABC val1="3" val2="8"/>
</XML>
You should get: <ABC val1="3" val2="8"/>
Karl
-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk]
Sent: Thursday, July 15, 2004 8:12 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Match nodes with a range of values
as I said in my original reply I don't think you can do this with a pure
xslt 1 expression, you could in xslt2 or you need to use an xslt costruct:
sorry that was garbled:
as I said in my original reply I don't think you can do this with a pure
XPath 1 expression, you could in XPath 2 or you need to use an xslt
costruct:
^^^^^
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--