Subject: RE: syntax question: using a variable inside format-number()
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 4 Dec 2000 10:07:08 -0000
|
> Interesting, so if I were using Saxon I could have done the
> following :
>
> <xsl:value-of
> select="format-number(saxon:evaluate(/AssetAnalyzer/$curcat),'
> #00%')"/>
Almost, but the argument to saxon:evaluate must be a string:
<xsl:value-of
select="format-number(saxon:evaluate(concat('/AssetAnalyzer/', $curcat)),
'#00%')"/>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|