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

separating string values without tokenize()

Subject: separating string values without tokenize()
From: "Charlie0 charlieo0@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Mar 2019 22:43:47 -0000
 separating string values without tokenize()
I am sure this has been addressed here previously, but I can't find what I'm looking for in the archive.

I have this string:

'R0052, R0055, R0057'

I need to create this XML output:

<xref figid="R0052"/>, <xref figid="R0055"/>, <xref figid="R0057"/>

I am restricted to using XSL 1.0. (this is an easy problem for 2.0, but I cannot use the tokenize() function).

This specific string has three values, but the string could contain two or more comma (and space) delimited values.

How do I get this done with XSLT 1.0?

Charlie O

Current Thread


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.
First Name
Last Name
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.