tags:

views:

43

answers:

1

I have a simple string say:

NiceWeather

I'd like to insert a space between 'e' and 'W' to produce:

Nice Weather

Is there any function I could use (XSLT 1.0) to put the space in?

A: 

Hi:

What you are looking for is often called "String Split".

Look at this useful example:

http://www.abbeyworkshop.com/howto/xslt/xslt-split-values/index.html

Small Template:

http://www.exslt.org/str/functions/split/str.split.template.xsl

bastianneu