Damian & chillies,
Thanks for the help.
As you mentioned, I am now thinking of going the XSLT way. This is the problem:
I have this huge(700M) (ill-formed) XML batch file. Besides being badly formed, these XMLs also have a variety of embedded namespaces. I am trying to delete a few nodes and recreate the batch . Unfortunately I do have nested tages and as Chillies mentioned.
Once my XSLT solution works, I'll post it . Thanks for all the help.