Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 117
  • Last Modified:

XPath and XQuery: if you dont have access to format-number ....

Regarding XPath in XQuery,  if you dont have access to format-number, what do you do ?
0
Anthony Lucia
Asked:
Anthony Lucia
1 Solution
 
Geert BormansInformation ArchitectCommented:
If you are using XQuery, you have access to format-number()
Explain the issue you are facing and the architecture you are using in more detail please

Some historical notes....
format-number() is an XSLT1 function that has been introduced in XPath starting 2.0
it is part of XQuery as of XQuery 1.1

You don't have access to format-number()
- if you are using XPath1 directly in a programming environment... well you can use the programming environment to format the number, using functions such as ToString() or format() depending on the language you use
- if you are using XQuery 1.0 ... well, then I recommend to start using an architecture that does newer stuff
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now