Subject: Re: [xsl] string(9) = string(09) ... true or false? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 12 Mar 2004 15:25:19 -0500 |
I ran this test with SAXON 7_8
<xsl:value-of select="string(9) = string(09)"/>
Output: true
Shouldn't the output be: false?
if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative [XPath 4.2]
I hope this helps, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] string(9) = string(09) ... tr, Roger L. Costello | Thread | Re: [xsl] problem converting xml to, Anna Bikkina |
RE: [xsl] xsl and xml CDATA or Not , John Hamman | Date | RE: [xsl] string(9) = string(09) .., Josh Canfield |
Month |