xsl-list
[Top] [All Lists]

Re: [xsl] Formatting string

2007-05-16 05:08:57
This could be a solution:

<xsl:value-of select="substring-after(replace($a, '([A-Z])', ' $1'), ' ')"/>

It puts a space before all capital letters and at the end it removes
it againg for the first capital letter.

Cheers,

Jesper Tverskov
http://www.xmlplease.com/xslt

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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