I am using xerces-c-1.6 and VC++ on winNT.
I have a DOM_Document doc that looks something like this:
<!-- some child nodes -->
I also have a DOM_Element elem1 refering to <elem1>.
After extracting what I need from elem1, I want to remove it from doc:
This call always returns with NOT_FOUND_ERR, although elem1 is a child of doc.
What am i doing wrong?
Is there another way to remove unwanted elements from a document using the DOM api?