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

filtering by ancestor

Subject: filtering by ancestor
From: KRokicki@xxxxxxxxxxxxx
Date: Wed, 12 Jun 2002 16:46:38 -0400
filtering by
I'm writing a breadth-first parser but I want to restrict the parse to
/resultset/result[1]
So at any given node I need the subset of following::* that has
/resultset/result[1] as an ancestor.

I was trying to do something like this:
following::*[ancestor::resultset/result-item[1]]
but that's always true since it only tests if result-item[1] exists.

I also tried another approach:
following::*[/result/result-item[1]//node() = current()]
but that just doesnt work..

Any ideas?
Thanks,
Konrad


 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.