On Tue, Jul 25, 2000 at 04:35:29PM +0100, Sebastian Rahtz wrote:
> 165 <xsl:template match="figure">
> 166 <xsl:variable name="width">         
> 167  <xsl:choose>
> 168   <xsl:when test="@width"><!-- explicit width specified -->
> 169    <xsl:choose>
> 170     <xsl:when test="contains(@width, '%')"><!-- as percentage -->

Change line 170 to
        <xsl:when test="contains(string(@width), '%')">

 .robin.

-- 
Flee to me, remote elf!

Reply via email to