Re: alignment

At 2003-04-25 11:12 -0400, Yoshida, Ken wrote:
>I have this:
>
><fo:table-row border-width="0.5pt">
>     <xsl:apply-templates select="CustomerNumber | PreInc | PostInc | 
> ChangeAmount | ChangePercentage" />
></fo:table-row>
>
>I want to left justify some of the columns and right justify others.  How 
>can I do this?

By having template rules for each of the individual element types and using 
text-align="start" and text-align="end" respectively on the blocks you use 
for the contents of each of the elements.

I hope this helps.

..................... Ken



--
Upcoming hands-on courses:   Europe (XSLT/XPath):    May  5, 2003
-                            Europe (XSL-FO):        May 16, 2003
- (XSLT/XPath and/or XSL-FO) North America:      June 16-20, 2003

G. Ken Holman                mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/f/
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
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc

Received on Friday, 25 April 2003 12:28:54 UTC