[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Michael Kay wrote:
I suspect his problem is that, without a schema, all elements from the input XML file (e.g., foo/bar) default to double unless cast. But, he didn't provide enough detail to be sure.
--
Re: [xsl] typing of integer operations in Xpath2
Subject: Re: [xsl] typing of integer operations in Xpath2 From: Jeff Kenton <Jeffrey.Kenton@xxxxxxxxxxx> Date: Tue, 20 Apr 2004 16:41:39 -0400 |
Michael Kay wrote:
6) The rules could be changed to avoid promoting integers to doubles, when all operands are integer, and an integer result is sensible (e.g. plus, minus, idiv, multiply)
It is already the case that if all the operands are integers then the result is an integer.
I suspect his problem is that, without a schema, all elements from the input XML file (e.g., foo/bar) default to double unless cast. But, he didn't provide enough detail to be sure.
--
------------------------------------------------------------------------- = Jeff Kenton Consulting and software development = = http://home.comcast.net/~jeffrey.kenton = -------------------------------------------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] typing of integer operati, Jeff Kenton | Thread | Re: [xsl] typing of integer operati, David Carlisle |
Re: [xsl] typing of integer operati, Colin Paul Adams | Date | RE: [xsl] typing of integer operati, Andreas L. Delmelle |
Month |