[Home] [By Thread] [By Date] [Recent Entries]
Ronald Walraven writes: > Try: > > <xsl:attribute name="content-width"> > <xsl:value-of select="number(string-before($PageWidth,'mm')) - > number(string-before($PageMarginLeft,'mm')) - > number(string-before($PageMarginRight,'mm'))"/> > </xsl:attribute> If one could be sure that all lengths used the same units, sure. I think DPC's more cumbersome suggestion of replacing the unit with "* factor" is necessary, however. sebastian XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



