We read a xml file and want to remove a tag, but everytime when the parent has an attribute the element can't be selected.
For example
<ParentNode att1="notempty" att2="notempty"/>
<childNode/>
</ParentNode>
We are using xpath query : ParentNode/childNode, but this query is not deleting or removing the child element.
Any solution?


Report
All responses (
Answers (