Subject:String Parsing Author:Phoebe Buffay Date:25 Feb 2009 10:49 AM
Hi All,
I have an input file:
Input.xml
<sender_details>
<sender_company>sender company name</sender_company>
<sender_name>Name</sender_name>
<sender_email>test@test.com</sender_email>
<sender_phone>123456789</sender_phone>
<sender_mobile>8888888</sender_mobile> <remarks>sender_address_street,streetname|sender_address_county,countyname|</remarks>
</sender_details>
and my output should look like below:
<information>
<sender_address_street>streetname</sender_address_street>
<sender_address_county>countyname</sender_address_county> <!-- The XSL should replace this value -->
<someothernode>
<sender_address_county>KEEP THIS VALUE</sender_address_county> <!-- This value should NOT be replaced from the input -->
</someothernode>
</information>
Subject:String Parsing Author:Phoebe Buffay Date:26 Feb 2009 09:47 AM
Hi John,
Thanks for your help.
The solution you suggested is quite close to what I wanted, just that I wanted to include a routine which can be accessed by any node to retrieve the value.