Nov-29-2021, 07:52 PM
(This post was last modified: Nov-29-2021, 08:13 PM by Gribouillis.)
for param in parameters: Properties = param.getElementsByTagName('Property') for proper in Properties: name = proper.getElementsByTagName("Name")[0].childNodes[0].data if name == "UID": object_id = param.getElementsByTagName('ObjectIDUnique')[0].childNodes[0].data print(f"object_id : {object_id}") value = proper.getElementsByTagName("Value")[0].childNodes[0].data print(f"value : {value} ")
Gribouillis write Nov-29-2021, 08:13 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.