|
Subject: RE: [xsl] Calculations in an attribute From: "Bryan Rasmussen" <bry@xxxxxxxxxx> Date: Mon, 11 Mar 2002 19:17:32 +0100 |
>I want to have a percentage on the width so I have
>tried this (among other things):
>width="<xsl:value-of select="142 * total div 100"/>"
<rect x="291" y="121" height="10"
fill="green" >
<xsl:attribute name="width"><xsl:value-of select="142 * total div
100"/></xsl:attribute></rect>
or
<rect x="291" y="121" width="{142 * total div 100}" height="10"
fill="green" />
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Calculations in an attribute, bryan hansen | Thread | Re: [xsl] Calculations in an attrib, Thomas B. Passin |
| [xsl] Calculations in an attribute, bryan hansen | Date | Re: [xsl] Calculations in an attrib, Thomas B. Passin |
| Month |