Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XQuery Help and Discussion
»
No format-number functionsupport in an xQuery
Topic
Prev Topic
Next Topic
next
Subject:
No format-number functionsupport in an xQuery
Author:
Sebastien Vinchon
Date:
06 Oct 2008 10:52 AM
I get an error when trying to use the xPath format-number function in an xQuery.
I am doing something wrong?
I need to display a value with leading zeros.
Does anybody know how to do that if the format-number function is actually not supported?
Many thanks in advance for any help.
next
Subject:
No format-number functionsupport in an xQuery
Author:
Minollo I.
Date:
06 Oct 2008 11:01 AM
format-number() is not defined in XQuery; it's an XSLT function.
This may help:
http://www.xml-connection.com/2007/08/formatting-numbers-in-xquery-10.html
next
Subject:
No format-number functionsupport in an xQuery
Author:
Sebastien Vinchon
Date:
06 Oct 2008 11:02 AM
I would actually also like to know how to prevent the engine from displaying large numbers as (for instance) "9901234" instead of "9.901234E6".
top
Subject:
No format-number functionsupport in an xQuery
Author:
Minollo I.
Date:
06 Oct 2008 11:11 AM
That's easier: xs:integer(9.901234E6)
Prev Topic
Next Topic
Powered by
Stylus Studio
, the world's leading
XML IDE
for
XML
,
XSLT
,
XQuery
,
XML Schema
,
DTD
,
XPath
,
WSDL
,
XHTML
,
SQL/XML
, and
XML Mapping
!
Go to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.