RE: [xsl] replacing parts of a string

Subject: RE: [xsl] replacing parts of a string
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 15 Jan 2004 14:49:34 +0200
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


Current Thread