xsl-list
[Top] [All Lists]

RE: replacing parts of a string

2004-01-15 05:49:34
Hi,

Is there a (string)-replace function in xsl. Couldn't find one.

Other than translate(), no.

My problem: I get something like this in xml:
<LongString>wert,dsfg,dsfg,ewrt,wert,xcvbs,rwete,ehgfh,xxxxxas
d,awersdf,dfgxvxcv</LongString>

I want to have a whitespace between the "," and the text.

See the FAQ-you need to write a recursive template.

Cheers,

Jarno - Feindflug: (Stukas) Im Visier

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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