Solved

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

Posted on 2015-01-21
1
82 Views
Last Modified: 2015-01-22
Regarding XPath in XQuery,  if you dont have access to format-number, what do you do ?
0
Comment
Question by:Anthony Lucia
1 Comment
 
LVL 60

Accepted Solution

by:
Geert Bormans earned 500 total points
ID: 40563753
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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now