[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Concatenating string values of a sequence

Subject: Concatenating string values of a sequence
From: "Christopher R. Maden" <crism@xxxxxxxxx>
Date: Tue, 04 Aug 2009 13:47:22 -0400
 Concatenating string values of a sequence
Ibm finally getting around to XSLT 2.0 and having fun with grouping and
tokenizing.

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!).

 tokenize( current-group()[position() > 1], '\s*;\s*' )

is what I have right now.  Ibve tried wrapping the sequence in concat()
(which wants more than one argument), in string-join(), and a FLWR that
just resulted in a sequence of strings rather than a concatenation.

Pointers?

Thanks in advance,
Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
America: Land of the bbbb and the home of the bbbbb.
<URL: http://www.boingboing.net/2009/07/29/us-border-station-sc.html >
GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.