[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: how to split word into sequence of letters
Yeah... that's called borrowing solutions from another spec ;-) -----Original Message----- From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] Sent: Friday, August 17, 2012 5:02 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: how to split word into sequence of letters > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|