[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] variables in combination.
I need to do some simple arithmetic on variables. xt keeps giving syntax errors, <xsl:variable name="xval" select="@x-coord * 2.29"/> seems OK but <xsl:variable name="x2" select="$xval+($xbox / 2)"/> gives the error node test expected. I've also tried <xsl:variable name="x2" ><xsl:value-of select ="$xval+($xbox / 2)"/></xsl:variable> with the same result. Ken H (for once) doesn't seem to give such an example. Any help appreciated please, I'm stuck on this one. regards, DaveP 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
|