Subject: Re: xslfo table paging
From: Max <max@xxxxxxxxxxx>
Date: Thu, 17 Jul 2008 11:27:09 +0100
|
Tony Graham wrote:
On Wed, Jul 16 2008 14:06:20 +0100, max@xxxxxxxxxxx wrote:
I'm trying to convert some XML into PDF via XSL:FO and XSLT. I have a
(mostly) working XML schema and XSLT however I need to split some data
into two columns over several pages and I can't get the data in the
table to fill the left column on page one then the right column on
page one and continued for pages two and three.
On your fo:region-body, add column-count="2" [1].
For the fo:block that span both columns, use span="all" [2]. Omit the
span property for blocks that fit in one column.
Regards,
Tony Graham Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx
Director W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599 http://www.menteithconsulting.com
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
xmlroff XSL Formatter http://xmlroff.org
xslide Emacs mode http://www.menteith.com/wiki/xslide
Unicode: A Primer urn:isbn:0-7645-4625-2
[1] http://www.w3.org/TR/xsl11/#column-count
[2] http://www.w3.org/TR/xsl11/#span
Thanks very much, I have ended up with a body tag for the fo:flow tag
and <column> and <nocolumn> tags with the fo:block tags
Max
| Current Thread |
Tony Graham - 16 Jul 2008 17:16:14 -0000
- Message not available
- Max - 17 Jul 2008 10:27:33 -0000 <=
philip.vallone - 16 Jul 2008 13:32:39 -0000
- Message not available
- Max - 16 Jul 2008 13:40:22 -0000
- XSL-List Owner - 16 Jul 2008 13:48:34 -0000
philip.vallone - 16 Jul 2008 14:05:32 -0000
|
|