[XSL-LIST Mailing List Archive Home]
Re: [xsl] emulating tabulations in FO
At 2002-10-15 16:08 -0500, Louis Meigret wrote:
How can I emulate tabulations in XSL ? I thought of using <fo:leaders> but
this does not seem to work in the general case.
set tab : 3cm, 8cm, 12cm
Text1 much longer<tab>Text2b aligned with Tex2<tab>Text3b aligned with Text3.
Have you considered putting your content into table cells without turning
on the borders of the cells? The reader doesn't need to know you used a table.
What strategy do you have in mind for text that overlaps the tab boundary
.. using a table you have the choice of chopping off excess, wrapping
excess, or overlapping the next tab stop. There is no choice of "skipping"
a tab stop as would a traditional tab function.
I hope this helps.
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 0-13-140374-5 Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
Next public training: 2002-12-08,2003-02-03,06,03-03,06
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list