XSLT 1.0 Split one Field into Two
Hi all,
I have a situation where I need to take a XML response and split the values given into two fields. Im using XSLT version 1.0 and my XML looks like this:
<ns:response>
<thisisresponse>abcdef|123456</thisisresponse>
</ns:response>
I would like this to look something like this after XSL transformation:
<field1>abcdef</field1>
<field2>123456</field2>
The separator is the "|"
Is there are simple way to do this?
Last edited by stlyz3; February 23rd, 2009 at 01:22 AM..
|