|
Subject: Re: [xsl] rotate text 90 degrees From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 06 May 2002 20:41:45 -0400 |
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
using XSL
<?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@xxxxxxxxxxxxxxxxxxxx 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] rotate text 90 degrees, Greg Faron | Thread | Re: [xsl] rotate text 90 degrees, Amit Thakkar |
| RE: RE: [xsl] Saxon's handling of l, Evan Lenz | Date | RE: RE: [xsl] Saxon's handling of l, Salvatore Mangano |
| Month |