[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Match nodes with a range of values

Subject: RE: Match nodes with a range of values
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Jul 2004 08:43:53 -0700
xslt match range
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[@val1 &gt; 5 and @val2 &lt; 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@xxxxxxxxx]
Sent: Thursday, July 15, 2004 8:12 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.