Subject: Re: [xsl] selecting the following-sibling in recursive search... From: Arulraj <p_arulraj@xxxxxxxxx> Date: Fri, 18 Nov 2005 02:47:41 -0800 (PST) |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] selecting the following-s, Ragulf Pickaxe | Thread | RE: [xsl] selecting the following-s, Arulraj |
RE: [xsl] selecting the following-s, Michael Kay | Date | Re: [xsl] Too many apply-templates , UlyLee |
Month |