Apr-06-2021, 07:09 PM
I got it working. I had to iterate through subelements and then edit the attribute as below
for subelem in list(element): subelem.set('destination', target_string_list[0]) subelem.set('folderPath', target_string_list[1])