|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: syntax question: using a variable inside format-number()
> 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
|
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








