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

[xsl-fo] generating the correct number of columns for

Subject: [xsl-fo] generating the correct number of columns for a table from html to xsl-fo
From: "El Hage Camille" <CAMILLE.ELHAGE@xxxxxxxxxxxxxxxx>
Date: Mon, 14 Oct 2002 18:50:22 +0200
 [xsl-fo] generating the correct number of columns for
Hi all,
I need to generate a table in xsl-fo from an html table. My problem is that in FO, you need to declare the number of columns before starting the body.

On the FAQ, I only found the (enlightening) discussion on how to get the maximum number of child nodes (http://www.biglist.com/lists/xsl-list/archives/200101/msg00177.html), but the resulting code gives a number and I don't know how to use that.

My question is: if I have a number (say "8"), how do I loop through to generate 8 times the line : <fo:table-column column-width="2cm"/> ?

thanks for any help.

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

Current Thread


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.
First Name
Last Name
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.