xsl-list
[Top] [All Lists]

RE: [xsl] string parsing and delimiters

2007-10-26 04:28:57
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(_at_)googlemail(_dot_)com] 
Sent: 26 October 2007 12:19
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>