I am trying to remove a node. I am using the following code:
Node node = _xmlDocument.selectSingleNode("/Resultslist/Resultsrow/Resultsfield[@name = 'AllowFax']"); node.detach();
It appears to work. However when I display the contents of _xmlDocument, the node is still there.
Any help would be appreciated.
Thanks,
Frank Sharpless Manager, Application Development Paperhost.com, Inc. 770.998.9172.611
|
- Re: [dom4j-user] Deleting Node Frank Sharpless
- Re: [dom4j-user] Deleting Node Brian W. Young