xsl-list
[Top] [All Lists]

[xsl] Split string and assign result to variables

2011-08-30 11:25:04
I am using xslt 1.0 and trying to split a string into three chunks and
then assign them to individual variables. I came across a useful way
of splitting up strings here
dpawson.co.uk/xsl/sect2/StringReplace[DOT]html
However, I cannot seem to find a reliable resource on how I can
dynamically assign variables to the resulting chunks.

A sample string would be as depicted below.
string1/string2/string3

--
------------------------------
Lighton Phiri
http://lightonphiri.org/
------------------------------

--~------------------------------------------------------------------
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>