This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: format-number in XT


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]