I am using PHP.
I am reading an XML document using DOMDocument, I run through a foreach to loop through nodes. After I read an element node, pull out all of its children... I then need to remove that node from the xml file.
Any one have examples as to how to accomplish this. I seem to read it in ok. I am having a hard time deleting the node i just read, then saving the xml file, wash... rinse... repeat through the entire xml file.
Any help is appreciated.