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

RE: Split string

Subject: RE: Split string
From: "Craig Kattner" <CKattner@xxxxxxxxxxxxxx>
Date: Fri, 5 Dec 2003 10:09:04 -0600
craig kattner
http://www.exslt.org/str/functions/tokenize/index.html


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ricardo
Saraiva
Sent: Friday, December 05, 2003 9:54 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Split string


Hello,

	How do I split a string into several strings by a given token?

	The example that follows shows what is supposed to be done:

The input:

<ToName>person1;person2</ToName>
<ToAddress>mail1;mail2</ToAddress>

Desired output:

<To>
  <Contact>
	<Name>person1</Name>
      <Address>mail1</Address>
  </Contact>
  <Contact>
	<Name>person2</Name>
      <Address>mail2</Address>
  </Contact>
</To>

Thanks in advance,

Ricardo Saraiva.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.