Nov-29-2021, 12:28 PM
Hello everyone,
i'm new to python and i need some help:
I have an xml file:
<Parameter>
<MasterID>1498</MasterID>
<ObjectIDUnique>{C58FB975-5522-411C-9212-F5D81C74E1D1}</ObjectIDUnique>
<Properties dynamic="anonymous">
<Property>
<Name>UID</Name>
<Value>XXXXXX</Value>
</Property>
<Property>
<Name>FID</Name>
<Value>YYYYYY</Value>
</Property>
<Property>
<Name>MODULE</Name>
<Value>ZZZZZZ</Value>
</Property>
<Property>
<Name>A</Name>
<Value>AAAAAA</Value>
</Property>
And i want to recover the value of the tag <ObjectIDUnique> if the "Name" tag contains "UID" and retrieve the "Value" "XXXX" of the "UID" "Name".
Someone can i help me ?
i'm new to python and i need some help:
I have an xml file:
<Parameter>
<MasterID>1498</MasterID>
<ObjectIDUnique>{C58FB975-5522-411C-9212-F5D81C74E1D1}</ObjectIDUnique>
<Properties dynamic="anonymous">
<Property>
<Name>UID</Name>
<Value>XXXXXX</Value>
</Property>
<Property>
<Name>FID</Name>
<Value>YYYYYY</Value>
</Property>
<Property>
<Name>MODULE</Name>
<Value>ZZZZZZ</Value>
</Property>
<Property>
<Name>A</Name>
<Value>AAAAAA</Value>
</Property>
And i want to recover the value of the tag <ObjectIDUnique> if the "Name" tag contains "UID" and retrieve the "Value" "XXXX" of the "UID" "Name".
Someone can i help me ?