Hi All,
I'm working with an .xml document where I want to swap the values contained within the attributes of an element.
To provide a specific example, I'm trying to extract the attribute values from the Sample element in the .xml below using the nodemetadataproperties function in PilotScript so I can swap the values found within the SampleID, name and comment attributes but I'm struggling to find the values and am unsure about how to write the values back to the correct attribute.
Is anyone aware of how this could be done please?
The current .xml can be found here:
The desired .xml that I've manually adjusted can be found here: