Skip to Content
0
Former Member
Apr 30, 2010 at 06:53 AM

UDF or Javamapping

18 Views

Dear All,

My Requirement is that,

I am getting an XML file as a input inside a string "value_string"

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

- <Si_out xmlns:ns=http:test//>

<value_string><?

xml version="1.0" encoding="UTF-8" ?> - <SoapIn xmlns:ns="urn://test">

<outbound><?xml version="1.0" encoding="UTF-8"?><ns0:MT xmlns:ns0="urn://test"> <firstname>venkat</firstname> <client_id/> <Lastname>prasad</Lastname> <Project_id>321</Project_id> <canditateId/> </ns0:MT></outbound> </SoapIn></value_string>

</Si_out>

Expecting output values of firstname only inside a string name "inbound"

<?xml version="1.0" encoding="UTF-8" ?>

- <SoapOut xmlns:ns="urn://test">

<inbound>venkat</inbound>

</SoapOut>

can this be achived through an UDF or Java mapping ?

Please suggest me on this.

Thanks in advance.

Regards,

Lavanya B.