Bertrand,
I can't compare them: can't save output of standard HTML serializer:
IE6 gives me error: "This web page may not save correctly" and
"Web page could not be saved because one of its files is missing" - creates a
file with 0 length.
But if I do "Print Preview" of it - there are no page breaks, so it puts them
wherever it wants.
As I mentioned before, there are no more pagebreaks and table tags
are only at the very beginning and very end in the output of Excel-to-HTML
transformer
(i.e. with starnard HTML serializer without any mime-type defined)
and they are not getting introduced after that serializer
(org.apache.cocoon.serialization.HTMLSerializer
with mime-type="application/vnd.ms-excel").
So I suspect that there might be a bug in that excel-html-transformer.
Unfortunately, there are no more original developers around
and I have no experience developing real transformers, let alone Excel ones.
Can anybody recommend me any literature on how to develop the one,
especially with regard to handling pagebreaks and tables ?
Here is a piece from it:
<x:PageBreaks>
<x:RowBreaks>
<xsl:for-each select="/document/helper-info/row-breaks/row">
<x:RowBreak>
<x:Row><xsl:value-of select="."/></x:Row>
</x:RowBreak>
</xsl:for-each>
</x:RowBreaks>
</x:PageBreaks>
Should the output of such serializer have pagebreaks and tables
or is it a job of Excel to interpret where to put pagebreaks ?
Thank you so much,
Oleg.
P.S.: Sorry, was very busy with other problems this week,
couldn't reply before.
----- Original Message ----
From: Bertrand Delacretaz <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, January 05, 2006 2:11:44 AM
Subject: Re: PageBreak in Excel-HTML transformer
Le 29 déc. 05, à 00:25, Oleg Konovalov a écrit :
> ...Looks like the Excel page formatting occurs in that HTML
> serializer,
> at least if I put a standard <map:serialize type="html"/> insted of
> fakeout-xls,
> the pages are not showing any pagebreaks at all....
I'd compare (using diff) the output of one serializer with the other,
to find out what might be wrong.
-Bertrand
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]