Re: [xsl] Split string

Subject: Re: [xsl] Split string
From: JCS <subscriber@xxxxxxxxxxxxx>
Date: Sat, 06 Dec 2003 05:12:42 +1300
Hi Ricardo,

The FAQ has an answer here:

http://www.dpawson.co.uk/xsl/sect2/N7240.html#d8065e280

HtH,

/johnny :)


On 6/12/03 4:53 AM, "Ricardo Saraiva" <rss@xxxxxxxxxxxxxx> 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,
> 
> Ricardo Saraiva.
> 
> 
> 
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 

-- 
"A critic is a person who goes onto the battlefield after the battle has
been fought and shoots the survivors."


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


Current Thread