[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Concatenating string values of a sequence
Christopher R. Maden wrote:
But Ibm stymied on this: I need to tokenize a string that may span multiple text nodes or elements. The tokenize() function wonbt take a sequence of more than one as its first argument, and I canbt figure out how to concatenate the values of the nodes in the set in situ (Ibve even tried a FLWR expression!). Does tokenize( string-join(current-group()[position() > 1], ''), '\s*;\s*') not do what you want? I have choosen the empty string as the separator for the join, you might want something different but other than that I think you want string-join. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|
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
|