This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

parsing strings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]