xsl-list
[Top] [All Lists]

RE: [xsl] how to keep big integer format?

2006-10-19 15:57:21
<xsl:value-of select="format-number(object_id, '#0')"/>

hth,
b.

-----Original Message-----
From: Lin, Jessica [mailto:jlin(_at_)solekai(_dot_)com]
Sent: Thursday, October 19, 2006 4:50 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] how to keep big integer format?



<blueprint>
  <marker_object>
     <object_id>4967038</objet_id>
  </marker_object>
</blueprint>




I am using xslt to transform xml to xml and want to update object_id
value by adding 1. But the result returns 4.967039E6 instead of
4967039.
How can I get what I want?



Jessica
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>