Solved

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

Posted on 2015-01-21
1
88 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet example 17 51
XML SQL 8 27
ejb on wildfly 5 30
Need Help! Getting a syntax error and don't understand why 3 31
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

808 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