Subject: Re: [xsl] how i can use 'table' in fo in differt way ? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 16 Apr 2004 17:48:35 +0200 |
The problem is that when a use a 'table' in the xsl file , it forces me to indicate how many columns i need to use and the width.
In my script i have two columns. I want that : when the text of the second column is empty , the text of the first column takes all the line of the document
<table-cell> <xsl:if test="not(string(second-column))" <xsl:attribute name="number-columns-spanned">2</xsl:attribute> </xsl:if> <block> ...column contents... </table-cell> <xsl:if test="string(second-column)"> <table-cell> <block> ...column contents... </table-cell> </xsl:if>
-- Public courses: Spring 2004 world tour of hands-on XSL instruction Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Hong Kong May 17-21; Bremen Germany May 24-28; Helsinki June 14-18
World-wide on-site corporate, govt. & user group XML/XSL training. 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 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] how i can use 'table' in fo i, Roberta Granata | Thread | RE: [xsl] how i can use 'table' in , Andreas L. Delmelle |
RE: [xsl] Incrementing position in , Andreas L. Delmelle | Date | RE: [xsl] how i can use 'table' in , Andreas L. Delmelle |
Month |