Subject: RE: string(9) = string(09) ... true or false?
From: "Josh Canfield" <Josh.Canfield@xxxxxxxxxxxx>
Date: Fri, 12 Mar 2004 12:27:17 -0800
|
No, 09 represents the number 9, which has a string value of '9'.
see: http://www.w3.org/TR/xpath#numbers
Josh
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Roger L.
Costello
Sent: Friday, March 12, 2004 11:53 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: string(9) = string(09) ... true or false?
Hi Folks,
I ran this test with SAXON 7_8
<xsl:value-of select="string(9) = string(09)"/>
Output: true
Shouldn't the output be: false? /Roger
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|