This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rotate text 90 degrees


Thank you for your response....
question... I do not have any experience with XML FO... it appears that XML
FO is just for created documents (ie PDF) not for the web (HTML)... is it
possible to take the XML FO result and put then into a format for the web...
will the formatting still exist (rotated text)...

thanks again

----- Original Message -----
From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
To: <XSL-List@lists.mulberrytech.com>
Sent: Monday, May 06, 2002 8:41 PM
Subject: Re: [xsl] rotate text 90 degrees


> At 2002-05-06 16:13 -0400, Amit Thakkar wrote:
> >I have an XML document that I want to display as a table (HTML)... I want
> >the first row (column names) to have their text rotated 90 degrees... I
have
> >read that this is possible
>
> In HTML?  I can't see any way looking at http://www.w3.org/TR/html401
>
> >using XSL
>
> In XSLFO it can be done ... see the example below.
>
> I hope this helps.
>
> .................. Ken
>
> <?xml version="1.0" encoding="utf-8"?><!--amit.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 a table:</block>
>        <table border="solid">
>          <table-body>
>            <table-row>
>              <table-cell border="solid">
>                <block-container reference-orientation="90"
>                                 width="5cm" height="1cm">
>                  <block>Column A</block>
>                </block-container>
>              </table-cell>
>              <table-cell border="solid">
>                <block-container reference-orientation="90"
>                                 width="5cm" height="1cm">
>                  <block>Column B</block>
>                </block-container>
>              </table-cell>
>              <table-cell border="solid">
>                <block-container reference-orientation="90"
>                                 width="5cm" height="1cm">
>                  <block>Column C</block>
>                </block-container>
>              </table-cell>
>            </table-row>
>            <table-row>
>              <table-cell border="solid">
>                <block>aa</block>
>              </table-cell>
>              <table-cell border="solid">
>                <block>bb</block>
>              </table-cell>
>              <table-cell border="solid">
>                <block>cc</block>
>              </table-cell>
>            </table-row>
>          </table-body>
>        </table>
>      </flow>
>    </page-sequence>
> </root>
>
>
> --
> Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002
> -       : 3-days XML Information Modeling: July 31-August 2, 2002
>
> G. Ken Holman                mailto:gkholman@CraneSoftwrights.com
> Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/s/
> Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
> ISBN 0-13-065196-6                      Definitive XSLT and XPath
> ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
> ISBN 1-894049-07-1               Practical Formatting Using XSLFO
> XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
> articles, training(instructor-live,Internet-live,web/CD,licensed)
> Next public training:               2002-05-06,07,09,10,13,15,20,
> -                    06-04,07,10,11,13,14,17,20,07-31,08-05,27,30
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]