xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] explicit filter


Subject: RE: [xsl] explicit filter
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 15 May 2001 01:40:04 +0100

> 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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor