Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: how to using ms:number how to using ms:numberTo: NULL Date: 1/1/2007 11:59:00 PM
hello,
i am a newbiee in xsl. i have a problem about scentific notation
calcation. i have tried to use scient2Num template. it works on
formating a scentific notation number. when i using in a calculation
like this
<xsl:call-template name="scient2Num">
<xsl:with-param name="pS" select="$A - $B"/> // B is scentfic numbe
and result NaN
</xsl:call-template>
so i tried to ms:number
---xml----
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="msnumber.xsl"?>
<root>
<number>4.8803077704e+06</number>
</root>
---xsl---
<xsl:stylesheet version="1.0"
xmlns:ms="urn:schemas-microsoft-com:xslt"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="number">
<xsl:value-of select="ms:number(.)"/>
</xsl:template>
</xsl:stylesheet>
---result---
Namespace 'urn:schemas-microsoft-com:xslt' does not contain function
'number'. -->ms:number(.)<--
i am not sure my msxml version is
in add remove control it is show MSXML parser 6.0
did i must intsall msxml sdk? because the promgram should be deploied
to client , they mayn't have msxml sdk
thanks in advances,
tang sze yee
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
