[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Decimal alignment using fo:leader

Subject: Re: Decimal alignment using fo:leader
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Aug 2007 14:21:49 -0300
Re:  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 text-align="somestring" is...
...
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:

text-align="'.' end"

... will align the cells vertically on . and then the whole collection of lines to the end of the table cell.

text-align="'-' center"

... 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:

text-align="." axf:text-align="end"

... 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.