RE: [xsl] Multilevel Muenchian grouping -- Why doesn't this work?

Subject: RE: [xsl] Multilevel Muenchian grouping -- Why doesn't this work?
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 30 Jan 2003 09:50:20 +0200
Hi,

> The output this gets me on the input included below is:
> 
> <h2>2003</h2>
> <h3>2</h3>
> <ul></ul>
> <h3>1</h3>
> <ul></ul>
> <h3>1</h3>
> <ul></ul>
> <h3>1</h3>
> <ul></ul>
> <h3>1</h3>
> <ul></ul>
> <h2>2002</h2>
> <h3>11</h3>
> <ul></ul>
> <h3>11</h3>
> <ul></ul>
> 
> I don't understand why all the months are showing up repeatedly, and
> nothing inside at all.

That's odd, since I get

    <h2>2003</h2>
    <h3>2</h3>
    <ul>
    [...]
    </ul>
    <h3>1</h3>
    <ul>
    [...]
    [...]
    [...]
    [...]
    </ul>
    <h2>2002</h2>
    <h3>11</h3>
    <ul>
    [...]
    [...]
    </ul>
 
and if I replace [...] with <li><xsl:value-of select="."/></li> the output is correctly grouped. Which XSLT processor are you using, looks like a bug.

Cheers,

Jarno - Birmingham 6: The Deadliest Beat

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread