Subject: Re: [xsl] flatened hiearchies for xslt2 From: ac <ac@xxxxxxxxxxxxx> Date: Thu, 08 Mar 2007 11:23:34 -0500 |
Thank you again, ac
Hmm, I usually reply to messages very early in the morning, possibly sometimes feeling sleepy.
Just change in my code:
<xsl:key name="kChildren" match="section" use="generate-id(preceding::section [@level = current()/@level - 1] [last()] )" />
With:
<xsl:key name="kChildren" match="section" use="generate-id(preceding::section [@level = current()/@level - 1] [1] )" />
and now you'd be getting the correct results.
Hope this helped.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] flatened hiearchies for x, Dimitre Novatchev | Thread | Re: [xsl] flatened hiearchies for x, David Carlisle |
Re: [xsl] XSLT Output contains the , Abel Braaksma | Date | Re: [xsl] flatened hiearchies for x, David Carlisle |
Month |