Re: [xsl] xslfo table paging

Subject: Re: [xsl] 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