I guess define how you are displaying the contents of _xmlDocument when you are still seeing the node? If you can't access the node anymore from code, and when you output the Document to text using an output class it doesn't show up, I'd say it is gone.

Frank Sharpless wrote:

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




-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to