xsl-list
[Top] [All Lists]

RE: replacing , with a .

2003-07-18 08:45:34

-----Original Message-----
From: Challa, Harsha [mailto:hchalla(_at_)newbreed(_dot_)com]
Sent: 18 July 2003 16:36
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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



<Prev in Thread] Current Thread [Next in Thread>