I have an XML file that has a tag called <Uprn> this tag happens to be in the file multiple times, I have retrieved all the values from all the <Uprn> tags. I have added a loop and an IF action to test each value. How do I update a value that does not match the IF statement?
When I try the Set XML element it updates the first value not the incorrect value.
I have to try to answer since we have the same initials :-0)
But I do have a question first as it determines my answer. Are you attempting to simply change the value of Uprn and then spit out XML, or do you want JSON or text, does it matter?
I ask because you are going to need to use XPath to do what you are asking, that are you going to have to convert it to JSON, or you are going to need to treat it as raw text, any of those will work.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.