[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: selecting the following-sibling in recursive sear
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|