xsl-list
[Top] [All Lists]

Re: [xsl] xslfo table paging

2008-07-17 03:27:37
Tony Graham wrote:
On Wed, Jul 16 2008 14:06:20 +0100, max(_at_)legatio(_dot_)com 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(_dot_)Graham(_at_)MenteithConsulting(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>