AnsweredAssumed Answered

Response xml - get a tag value and replace it

Question asked by Geethalakshm.v on Sep 28, 2018
Latest reply on Oct 1, 2018 by DannySaro

I have a requirement in which for a complete response a particular tag value needs to be replaced by another value. That tag may occur 3 or 4 times in a response. Could you please help me with this requirement.

 

Example: In below XML, needs to modify Addr1 tag value 

<LocationInfo>

<a:Addr>

    <a:Addr1> STREET ADDRESS</a:Addr1>

   <a:City>CITYNAME</a:City>

   <a:PostalCode>06001</a:PostalCode>

</a:Addr>

<a:DetailedAddr>

   <a:Addr1> STREET ADDRESS1</a:Addr1>

   <a:City>CITYNAME1</a:City>

   <a:PostalCode>06002</a:PostalCode>

</a:DetailedAddr>

</LocationInfo>

Outcomes