Re: [xsl] how to split word into sequence of letters

Subject: Re: [xsl] how to split word into sequence of letters
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 17 Aug 2012 16:01:37 +0100
> Your solution does reassemble the string and a count on that expression would result in 1.
>
> So I guess you meant sth like:

ah yeah that's what i meant but what is this odd syntax:

> declare function local:split($string as xs:string) as xs:string* {
>     for $codepoint in string-to-codepoints($string) return codepoints-to-string($codepoint)
> };

;)




-- 
Andrew Welch
http://andrewjwelch.com

Current Thread