Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Scientific (Engineering) format supported for multiplication operator?

From: Martin Honnen <mahotrash@-----.-->
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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent