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: replacing character by another ?


<xsl:value-of select="translate(//TAG,'b','c')"/>

I guess this will work

Francis

> -----Original Message-----
> From: davindag@crt.com [mailto:davindag@crt.com]
> Sent: Thursday, March 30, 2000 11:31 PM
> To: xsl-list@mulberrytech.com
> Subject: replacing character by another ?
> 
> 
> How do we replace all occurances of a character by another one in XSL.
> 
> Say I have XML like
> 
> <TAG>aaabaaa</TAG>
> 
> I wish to replace Character "b" by "c" when I am applying XSL 
> and converting
> the XML to HTML.
> 
> 
> 
> 
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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]