[xep-support] Error reporting
Dave Pawson
dave.pawson at gmail.com
Fri Feb 18 01:56:04 PST 2011
I'm receiving an error report, a warning
[warning] Bad attribute column-width: Cannot multiply type Integer by type Word
I think the problem is
<xsl:attribute name="column-width">
<xsl:value-of select="@width"/>
<xsl:if test="not (contains(@width, '%'))">
<xsl:text>pt</xsl:text>
</xsl:if>
</xsl:attribute>
Where the source is
<col width="1*" align="center" span="1" valign="top"/>
<col width="4*" span="1" align="left" valign="top"/>
I.e. column 1 should be 1/5, column 2 should be 4/5.
This notation is fine for html... but not xsl-fo?
Any suggestions how to convert these into percentages please
for @column-width
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
!DSPAM:87,4d5e423863734857514936!
More information about the Xep-support
mailing list