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

xslt to generate XSL-FO table-layout=fixed

Subject: xslt to generate XSL-FO table-layout=fixed
From: "Ilya Sterin" <ilya@xxxxxxxxxxx>
Date: Mon, 21 Feb 2005 14:19:37 -0500
fo table table layout fixed
Hello, I currently have an XSLT that transforms XML to XSL-FO. We're
using FOP as the engine.

Since FOP only supports table-layout="fixed", I'm in a small bind.

The XSLT transforms regular XHTML tables to XSL-FO tables. Since in
HTML we don't know how many columns the table will hold before hand, I
can't seem to figure out a way to generate a fixed table layout in FO,
since I'm not sure how many fo:table-column elements will be present
in each table.

Has anyone ever come up with a solution for something similar. I
googled for some XSLT/XPath way of solving this, and most solutions
lead to having a columns="#" attribute in the table element. Since we
can't enforce this, is there another way of possibly counting the
columns in say the first row, to generate the fo:table-column elements?

What's the most elegant way of resolving this?

Thanks in advance for any help.

Ilya 

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.