how do i know a parent node’s name say i am at label = “shirt”, how do i know that its parent is john_carter whose parent is “FG”. Is it possible to know ( in minidom )
-90
.
.
.
<Object type="Layer" id="6" label="FG" expanded="True">
<Properties>
<Property id="blur" constant="True">
<Value>0</Value>
</Property>
.
.
.
<Property id="objects" expanded="True" constant="True">
<Object type="Layer" id="7" label="john_carter">
<Properties>
<Property id="blur" constant="True">
<Value>0</Value>
</Property>
.
.
.
<Property id="objects" expanded="True" constant="True">
<Object type="Layer" id="8" label="shirt" selected="True">
<Properties>
<Property id="blur" constant="True">
<Value>0</Value>
</Property>
.
.
.
.
.
.
.
.
.
.
.
.
Maybe like this?