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

RE: format-number in XT

Subject: RE: format-number in XT
From: Heather Lindsay <heather.lindsay@xxxxxxxxxxxxx>
Date: Fri, 15 Sep 2000 15:18:20 -0400
xt format number
In order to use format-number(), an <xsl:decimal-format> element must be
present in the stylesheet.  If none is present, then a default decimal
format is used (this may be defined in the implementation - XT in your
case).  Your first example works because it is a valid format for the
default decimal format.  For your second example to work the way you want it
to, you need to define an <xsl:decimal-format> element.  If you have Mike
Kay's book, this is a great place to find what you need (p455 and p187).  If
not, see XSLT section 12.3.  This is about the extent of my knowledge as I
have not actually used format-number().  Hope this helps some.  Good luck!

	- Heather
  


 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.