Update XML file data using groovy

Hi All,

I need a requirement to update a XML file data. Glad someone can help me on this. I have posted updated some code from the xml file.
I need to update data in following tags,
TestNumber
TestClientID
Add1
City
PostalCode

P100100885 1 2022-12-15 2023-12-15 500 500 100 200 150 1000 0

12345

12345 Test KITCHEN INC 654 Lee St Birmingham AL 12345

‘’‘’‘’’

Thanks in Advance!
Thushar

1 Like