Subject: parsing strings
From: William Lam <xeenman@xxxxxxxxx>
Date: Mon, 7 May 2001 13:32:09 -0700 (PDT)
|
Hi,
I'm still relatively new to XSL.
I am looking for a string tokenizer, similar to the
one available in the java library.
I have a source node with delimited key/value pairs
<text>A:a;B:b;C:c;D:d</text>
I need to extract the key value pairs to look similar
to
<items>
<key>A</key>
<value>a</value>
<key>B</key>
<value>b</value>
<key>C</key>
<value>c</value>
<key>D</key>
<value>d</value>
</items>
I've heard that the next version of XPath will include
string tokenizers.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|