someone help me out.
Straigh from w3schools on the NodeList object:
Method: item Returns a specific node in the nodeList
Unfortunately, nodeList->item(X) returns a domElement, so I can't call remove_child on it. What is especially frustrating is that according to any reference I can find, a dom -is- an element, and I can call nodeType on it, but not remove child. What gives?
Here is what I want help with: I want to remove something. I've selected the "Node" (i can't get a clear understanding on what this actually is) using Xpath. The nodelist should only ever contain one node (I assume a nodeList contains nodes.. probably I am wrong) so nodelist->item(0) is the node I want to remove. So ive' got that, how do I delete it?