i have an xml structure :
<xml>
<node label="comp_unit">
<node label="stratum">
<node label="tree"/>
</node>
</node>
</xml>
now, i tried to delete the node with the stratum label = stratum,
so, i did this..
delete xml.node.(@label==”stratum”);
but i got an error message: delete operator doesn’t work on xmlList.
i tried this then:
delete XML(xml.node.(@label==”stratum”);
but the node wasn’t deleted..
any one has a clue?
Use the following: