[xep-support] <table-cell display-align="after"/>

G. Ken Holman gkholman at CraneSoftwrights.com
Thu Apr 24 19:52:14 PDT 2003


At 2003-04-23 16:15 -0600, Wick Swain wrote:
>Is anyone out there using the display-alignattribute of <table-cell>?

Sure!  A working example is below.

>Is there a better way to align text at the bottom of a table cell (I cant 
>get it to go anywhere except in the center of the cell).  According to the 
>XEP site display-align is supported, but I havent been able to make it work.

Works just fine ... not sure why it isn't working for you.

Your subject line is showing an *empty* table-cell element ... but I 
suspect that is just a typo.

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

<?xml version="1.0" encoding="utf-8"?><!--raw.fo-->
<root xmlns="http://www.w3.org/1999/XSL/Format"
       font-family="Times" font-size="20pt">

   <layout-master-set>
     <simple-page-master master-name="frame"
                         page-height="297mm" page-width="210mm"
                         margin-top="15mm" margin-bottom="15mm"
                         margin-left="15mm" margin-right="15mm">
       <region-body region-name="frame-body"/>
     </simple-page-master>
   </layout-master-set>

   <page-sequence master-reference="frame">
     <flow flow-name="frame-body">
       <block>This is a test of three cells in a table</block>
       <table>
         <table-body>
           <table-row>
             <table-cell height="5cm">
               <block>Hello world</block>
             </table-cell>
             <table-cell height="5cm" display-align="after">
               <block>Hello world</block>
             </table-cell>
             <table-cell height="5cm">
               <block>Hello world</block>
             </table-cell>
           </table-row>
         </table-body>
       </table>

</flow></page-sequence></root>

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

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list