This is the mail archive of the
mailing list .
RE: value-of formattting
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] value-of formattting
- From: "Diamond, Jason" <Jason dot Diamond at MKG dot com>
- Date: Mon, 26 Mar 2001 11:29:35 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
Did you try enclosing it in quotes so that Xalan thinks it's a string?
I would hope that it doesn't try to format that for you.
> -----Original Message-----
> From: Lors, Ben [mailto:Lors.Ben@principal.com]
> Sent: Monday, March 26, 2001 9:15 AM
> To: 'firstname.lastname@example.org'
> Subject: [xsl] value-of formattting
> I'm using a Xalan processor and am slightly annoyed at one
> specific behavior. When I use, for example, <xsl:value-of
> select="40000"/>, the result I see is "40,000" (with the
> comma). Is there a way to get it to output without the
> comma? I realize I could use the format-number() function to
> get rid of the comma, but I was just curious as to why the
> processor insists on putting the comma in for me by default?
> Seems rather presumptious to assume what display format I'd
> like to see my number in. :) Thanks...
> Ben Lors
> Principal Financial Group
> Des Moines, IA
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list