[xep-support] Error reporting

From: Dave Pawson <dave.pawson@gmail.com>
Date: Fri Feb 18 2011 - 01:56:04 PST

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!
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Fri Feb 18 01:56:15 2011

This archive was generated by hypermail 2.1.8 : Fri Feb 18 2011 - 01:56:23 PST