[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: Arulraj <p_arulraj@xxxxxxxxx>
Date: Fri, 18 Nov 2005 02:47:41 -0800 (PST)
arulraj
Hello Ragulf,

Thanks you once again for the help.

Regards,
Raj

--- Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx> wrote:

> 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-sibling::*[@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.
> 
> From what I read, this is what you want.
> 
> Regards,
> Ragulf Pickaxe :-/
> 
> 



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

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.