Subject: Re: Split string
From: Frédéric Laurent <fl@xxxxxxxxxxxxx>
Date: Fri, 5 Dec 2003 17:19:47 +0100
|
take a look here
http://www.exslt.org/str/functions/tokenize/str.tokenize.template.xsl.html
Ricardo Saraiva wrote:
> 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,
--
XPath free testing software : http://lantern.sourceforge.net
Frédéric Laurent http://www.opikanoba.org
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Split string
- Ricardo Saraiva - Fri, 5 Dec 2003 10:54:18 -0500 (EST)
- andrew . curry - Fri, 5 Dec 2003 11:01:39 -0500 (EST)
- JCS - Fri, 5 Dec 2003 11:15:24 -0500 (EST)
- <Possible follow-ups>
- Craig Kattner - Fri, 5 Dec 2003 11:09:10 -0500 (EST)
- Frédéric Laurent - Fri, 5 Dec 2003 11:19:38 -0500 (EST) <=
|
|