[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi
Ive got this string :
Importer__OPT__Trading Company__OPT__Service Provider
Ive tried using translate function, but it replaces all instances of the letters O,P,T as well.I did something like:
translate(text(),'__OPT__',':')
It gives the following output is Importer:rading Company:Service rovider which i dont want.
Any easy way to do it??
[xsl] how to replace a part of a string with a newline??
Subject: [xsl] how to replace a part of a string with a newline?? From: Varun Suri <varunsuri@xxxxxxxxxxxxxxx> Date: Tue, 13 Jul 2004 13:20:45 +0530 |
Hi
Ive got this string :
Importer__OPT__Trading Company__OPT__Service Provider
How do i make it equivalent to - Importer - Trading Company - Service Provider
Ive tried using translate function, but it replaces all instances of the letters O,P,T as well.I did something like:
translate(text(),'__OPT__',':')
It gives the following output is Importer:rading Company:Service rovider which i dont want.
Any easy way to do it??
Thanks in advance Regards Varun
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] parsing string or numbers, Jarno.Elovirta | Thread | Re: [xsl] how to replace a part of , Mukul Gandhi |
Re: [xsl] question about XSLTC, George Cristian Bina | Date | RE: [xsl] how to replace a part of , Jarno.Elovirta |
Month |