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

RE: string parsing and delimiters

Subject: RE: string parsing and delimiters
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 26 Oct 2007 12:28:26 +0100
RE:  string parsing and delimiters
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:  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

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.