[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: value-of formattting
Did you try enclosing it in quotes so that Xalan thinks it's a string? <xsl:value-of select="'40000'"/> I would hope that it doesn't try to format that for you. Jason. > -----Original Message----- > From: Lors, Ben [mailto:Lors.Ben@xxxxxxxxxxxxx] > Sent: Monday, March 26, 2001 9:15 AM > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > Subject: 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 > lors.ben@xxxxxxxxxxxxx > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|