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

RE: replacing , with a .

Subject: RE: replacing , with a .
From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Jul 2003 16:45:34 +0100
replacing . with
> -----Original Message-----
> From: Challa, Harsha [mailto:hchalla@xxxxxxxxxxxx]
> Sent: 18 July 2003 16:36
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  replacing , with a .
> 
> 
> XML Gurus,
> 
> I have a street field with comma's  in the field. I would 
> like to replace
> the 
> commas with a . when i am extracting the data using XSL and 
> writing the flat
> file.
> 
> I am doing 
> 
>  <xsl:value-of
> select="ShippingPointAddress/@ShippingPointStreet"></xsl:value-of> 
> 

use translate() function
 <xsl:value-of select="translate(ShippingPointAddress/@ShippingPointStreet,',','.')">


check at www.dpawson.co.uk xslt faq

gl, jim fuller

 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.