S
Sumeeta.
Hi,
Am new to xml, using the xercess c++ DOM parser .
I want to delete a node from the xml file. Have used th removeChild()
method...but nothin happens.. not even errors..
it executes but doesnt remove any node from the file.
here's the code snippet (that's after parsing and loadin the xml file)
DOMNode *root = pDoc1->getDocumentElement();
DOMNode *child = root->getFirstChild();
DOMNode *nextchild = child->getNextSibling();
child->removeChild(nextchild);
other than the deleting part.. rest of the code works fine.
Cud aneone help please
Thanks.
Am new to xml, using the xercess c++ DOM parser .
I want to delete a node from the xml file. Have used th removeChild()
method...but nothin happens.. not even errors..
it executes but doesnt remove any node from the file.
here's the code snippet (that's after parsing and loadin the xml file)
DOMNode *root = pDoc1->getDocumentElement();
DOMNode *child = root->getFirstChild();
DOMNode *nextchild = child->getNextSibling();
child->removeChild(nextchild);
other than the deleting part.. rest of the code works fine.
Cud aneone help please
Thanks.