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

Re: selecting the following-sibling in recursive sear

Subject: Re: selecting the following-sibling in recursive search...
From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx>
Date: Fri, 18 Nov 2005 11:22:08 +0100
pickaxe 18
Raj,

> Is there any other way to select nodes between First
> list and second list using following-sibling of first
> list and preceding-sibling of second list.

I sent you a solution to another problem that you posted.
Why can you not tweak this one to work?

 <xsl:apply-templates
select="following-sibling::*[@level=$current-level+1][generate-id(preceding-s
ibling::*[@level=$current-level][1])=$current-id]">

The select can be easily changed to:
select="following-sibling::*[not(self::list)][generate-id(preceding-sibling::
list[1])=$current-list]"
Where $current-list is the generated-id for the current list element you are
in.

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.