[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Splitting merged XHTML cells


Subject: Re: [xsl] Splitting merged XHTML cells
From: "Jan Tosovsky" <honyk@xxxxxxxxx>
Date: Tue, 18 Jan 2005 20:21:54 +0100

Thanks for reply. It is very hard for me to write such script, could you
reveal some details? Where in stylesheet is entry point to user function and
what parameters are passed? I assume several functions in different places
(tr, td).
I prefer Saxon, but only way I've found here (8.2B) is to edit Saxon's
source code (writing custom java function) and then rebuild it. Am I right?
This wouldn't be very portable.
What about XSLT 2, isn't there better solution, without extensions?
Any ideas? Thanks.

----- Original Message ----- 
From: "Marian Olteanu" <mou_softwin@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, December 20, 2004 4:45 AM
Subject: Re: [xsl] Splitting merged XHTML cells


> Grid meant static (global) array.
> > Long time ago I solved this problem. And I cheated: I used JavaScript
embeded into XSLT (using
> > MSXML) so I reconstructed the table into a grid.
> > --- honyk <honyk@xxxxxxxxx> wrote:
> >
> > > I need to transform xhtml table to special output. Its syntax for
merging
> > > cells is similar to xhtml, but it requires to specify every cell even
if it
> > > is merged:
> > >
> > > <tr>
> > >   <td rowspan="2" colspan="2">A1:B2</td>
> > >   <td>C1</td>
> > > </tr>
> > > <tr>
> > >   <td>C2</td>
> > > </tr>
> > >
> > >
<RowStart:><CellStart:2,2>A1:B1<CellEnd:><CellStart:1,1><CellEnd:><CellStart
> > > :1,1>C1<CellEnd:><RowEnd:>
> > >
<RowStart:><CellStart:1,1><CellEnd:><CellStart:1,1><CellEnd:><CellStart:1,1>
> > > C2<CellEnd:><RowEnd:>
> > >
> > > For colspan I use recursion and it works fine, but for rowspan and
> > > combination with colspan I have no idea.
> > > ...


Current Thread
Keywords