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

RE: explicit filter

Subject: RE: explicit filter
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 15 May 2001 01:40:04 +0100
explicit filter
> I can now filter these nodes via filter (no way ;)
>
>   <xsl:variable name="filtered_elements" select="$elements[filter]"/>
>
> Unfortunately I need to filter the node set on something
> much more comlex. So I thouhght I could traverse the nodes,
> test them and return the good ones.

Your techniques can construct temporary trees containing copies of selected
nodes, but they can't create a subset of the original node-set.

It's surprising what you CAN do in a filter if you're enterprising - perhaps
you should give an example that you're having trouble with.

If necessary, there's the EXSLT func:function for this purpose.

Mike Kay
Software AG
>


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


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.