Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Scientific (Engineering) format supported for multiplication operator? >Thread Next - Re: Scientific (Engineering) format supported for multiplication operator? Re: Scientific (Engineering) format supported for multiplication operator?To: NULL Date: 8/15/2008 1:20:00 PM barnum@b... wrote: > am I right in assuming that XSL multiplication operator supports > Scientific (Engineering) format, > e.g. I can do "2 * 2.6160008530e-002"? The allowed format is not depending on an operator, rather it is defined for the number literals in XPath. In XPath 1.0 and therefore XSLT 1.0 the scientific notation is not supported. In XPath 2.0 and therefore XSLT 2.0 it is, see http://www.w3.org/TR/xpath20/#id-literals. MSXML and XslCompiledTransform do only support XPath 1.0 and XSLT 1.0. If you want to use XSLT 2.0 then try Saxon (http://saxon.sourceforge.net/) or Gestalt (http://gestalt.sourceforge.net/) or Altova (http://www.altova.com/altovaxml.html) -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
