RE: [xsl] string parsing and delimiters

Subject: RE: [xsl] string parsing and delimiters
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 26 Oct 2007 12:28:26 +0100
In XSLT 2.0, use the tokenize() function.

In XSLT 1.0, take a look at str:tokenize() in the EXSLT library at
www.exslt.org

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: pat springer [mailto:patspringer2007@xxxxxxxxxxxxxx] 
> Sent: 26 October 2007 12:19
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] string parsing and delimiters
> 
> Hello,
> 
> I need to transform the following XML
> 
> <Salaries Range = "B"  Scale="7" Amount = "12050.30; 
> 11058.23; 11251.25> with n 'Amount' values delimited by ';'
> 
> into three n XML elements:
> <Salaries Range = "B"  Scale="7" Amount = "12050.30"> 
> <Salaries Range = "B"  Scale="7" Amount = "11058.23"> 
> <Salaries Range = "B"  Scale="7" Amount = " 11251.25">
> 
> Any help with that. thanks.
> Pat.

Current Thread