in reply to Update an XML node value based on one of the attribute values.
open file.xml ; for //*[name()='ReferenceId'][@referenceIDType='FXDD'] set text() 'New + value' ; save :b ; [download]