How to find a specific XML node and delete its parent node?

mwg

New Member
I have an XML file that reads like this\[code\]<abc> <ab>value</ab> <aa>time</aa> <ac>money</ac></abc><abc> <ab>right</ab> <aa>left</aa> <ac>straight</ac></abc>\[/code\]What i want is that i am able to find the node which has a value "left" and then delete its parent node so that what i get at last is \[code\]<abc> <ab>value</ab> <aa>time</aa> <ac>money</ac></abc>\[/code\]Thanks in advance
 
Back
Top