Next in thread → Next in month →

Re: DOCBOOK-APPS: Table seps with XSL-FO

From
Hugues Pichereau <>
Date
2002-02-14T11:42:13+00:00
ID
Thread
Re: DOCBOOK-APPS: Table seps with XSL-FO
If somebody had the same problem, I have found :
Just put the "frame" attribute to "all" in the "table" element.
Then rows / cols seps are ok in both HTML and PDF.
Although in the def. guide I understood the frame table att.  was intended
to the table border itself, not the entrys seps.

And another tip for tables in PDF with FOP 0.20.3 : "table-and-caption" and
"caption" elements in FO (comming from XML tables titles) are not supported
by FOP, so no tables can output in PDF.
So to correct this, in the ebnf.xsl and formal.xsl comment the
"table-and-caption" and "caption" elements, but not the "table" element
inside. Then enjoy nice tables in PDF. Enclosed are the corrected
stylesheets.

--
Hugues Pichereau - Webmaster
Telemedicine Technologies


Hugues Pichereau wrote:

> Hello,
>
> I use DocBook XML with Norman Walsh's XSL stylesheets, both for HTML and
> PDF output.
> - for HTML : XSL 1.45 (cause bug in 1.48 with chunk.xsl), with Xalan J 2
>
> - for FO/ PDF : XSL 1.48 with Xalan J 2 and FOP 0.20.3
>
> With no rowsep or colsep attributes, tables render ok in HTML, but there
> are no row or column separators in PDF. I've tried to put rowsep and
> colsep to 1, for <table> and <tgroup> elements, but no seps in PDF. Only
> when each <entry> has its rowsep and colsep the separators are output in
> PDF, but it's quite boring to do.
>
> Any idea ?
>
> --
> Hugues Pichereau - Webmaster
> Telemedicine Technologies
Next in thread → Next in month →