|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Calculations in an attribute
>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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








