ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: format-number usage

Subject: Re: format-number usage
From: Gary L Peskin <garyp@xxxxxxxxxxxx>
Date: Fri, 01 Sep 2000 08:34:28 -0700
number usage
Nuri Besen wrote:
> 
> Hello,
> 
> I am trying to use number formating in XSL with
> format-number function using Xalan/Xerces as processors.
> 
> >From what i understood, this should work:
> format-number(123456,"#,##0")
> but i get a parse exception as:
> pattern = '#,##0'
> Extra illegal tokens: ',', '##0'
> 
> I want to display "123,456", what is wrong here?

It sounds like you have your format-number in a select attribute.  Try
using apostrophes (') around your #,##0 instead of quotes.  If you begin
your select attribute value with quotes, your first quote before the #
would end the attribute value.

Gary


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.