Re: [xsl] splitting terms with [A-Z] expression

Subject: Re: [xsl] splitting terms with [A-Z] expression
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 12 May 2005 11:35:24 +0100
Presumably since you are using regexp you are using xslt2 (It's best to
say this explictly, the current XSLT standard is still XSLT1, XSLT2 is
still in draft form)

replace(.,'(.)([A-Z])','$1 $2')
would insert a space before every capital letter that appeared after the
first position.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread