Re: [xsl] Decimal alignment using fo:leader
(sorry for the tardy response, folks, but I'm supposed to be on
vacation this week)
I don't think I could say any better what Abel has said already. I
created an example solution to post only to find that the
popularly-used tools do not support the feature as documented.
At 2007-08-23 18:42 +0200, Abel Braaksma wrote:
I think so, yes, too complicated. But here's more If you want the
"best" solution, you can augment
Your best bet is a processor that supports XSL-FO 1.0 better.
Unfortunately, the only processor that seems to support
PS: I too am hoping that somebody proofs me wrong and says that
there's an easier solution here....G. Ken Holman? ;)
I wish I could ... I teach that the "correct" way to do this is with
text-align="." but there is no support as documented.
I have learned, however, that there is *extended* support beyond the
standardized documentation that my be helpful if you have Antenna
House as a choice of engine. I found it interesting that they
support a two-pronged specification of alignment:
... will align the cells vertically on . and then the whole
collection of lines to the end of the table cell.
... will align the lines along the first occurrence of "-" and center
every "-" in the cell.
While quite powerful, it is processor specific and from my tests it
does not support text-align="." as documented. For those who are
using the tool, it provides a number of options.
I wonder if they would consider supporting their extension as follows:
... which would satisfy the specification as well as provide the
additional functionality in a portable and non-interfering fashion.
I hope this helps.
. . . . . . . . . . . Ken
Upcoming public training: XSLT/XSL-FO Sep 10, UBL/code lists Oct 1
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds: publicly-available developer resources and training
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)
Male Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal