[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|