W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2003

Re: OT :: XSL Grouping Trouble

From: Colin Savage <sav912@hotmail.com>
Date: Tue, 28 Oct 2003 09:11:20 +0200
To: "karthikeyan.balasubramanian" <karthikeyan.balasubramanian@aspiresys.com>, <www-xsl-fo@w3.org>
Message-ID: <BAY7-DAV18vqzAoa2JB0000ea19@hotmail.com>

There is some helpful stuff here about the meunchian method.
http://www.jenitennison.com/xslt/grouping/index.html

Colin

----- Original Message ----- 
From: "karthikeyan.balasubramanian"
<karthikeyan.balasubramanian@aspiresys.com>
To: <www-xsl-fo@w3.org>
Sent: Monday, October 27, 2003 6:02 PM
Subject: OT :: XSL Grouping Trouble


>
> Hi,
>
>   I have this xml
>
> -------------
> <TABLE>
>     <TBODY>
>  <ROW>
>      <ENTRY>
>   <PARA>=MISSING</PARA>
>      </ENTRY>
>      <ENTRY>
>   <PARA>79-31-15</PARA>
>      </ENTRY>
>      <ENTRY>
>   <PARA/>
>      </ENTRY>
>  </ROW>
>  <ROW>
>     <ENTRY>
>   <PARA>=MISSING</PARA>
>     </ENTRY>
>     <ENTRY>
>   <PARA>79-31-15</PARA>
>     </ENTRY>
>     <ENTRY>
>   <PARA>01</PARA>
>     </ENTRY>
>  </ROW>
>  <ROW>
>     <ENTRY>
>   <PARA>=MISSING</PARA>
>     </ENTRY>
>     <ENTRY>
>   <PARA>79-31-40</PARA>
>     </ENTRY>
>     <ENTRY>
>   <PARA>01</PARA>
>     </ENTRY>
>  </ROW>
>     </TBODY>
> </TABLE>
> -------------------
>
> How do i get data in XSL in such way that i get this Output
>
> section 1
> subject                    chapter section             fig
> =missing                    79-31-15
> =missing                    79-31-15                   01
>
>
> section 2
>
> subject                    chapter section             fig
> =missing                    79-31-40                  01
>
> Getting like this one problem, I am using table so
> I dont know how to break it after 3rd column and
> bring other data down in that order and yet it
> should be well formed.
>
> I have looked at muenchian method but yet couldnt
> figure it out.
>
> Any help here would be greatly appreciated.
>
> Have a great day.
>
> Karthikeyan B
>
>
>
Received on Tuesday, 28 October 2003 02:10:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT