Skip to main content

 

<mdContact>

<rpOrgName>AAA</rpOrgName>

<rpPosName>BBB</rpPosName>

 

rpOrgName is appearing at multiple locations in the XML file.

How can I update its value from AAA to CCC for all of them in a single go without having to go to each element using Xpath.

One possible way would be to read the xml as a text file with parameter Read Whole File at Once set to 'Yes'. Use a StringReplacer to change all occurences of <rpOrgName>AAA</rpOrgName> with <rpOrgName>CCC</rpOrgName>, and write the results to a text file with extension xml.

image


Reply