Hi Andy,
I too, like Lasse, am not understanding your problem.
Now suppose i again call the same method on same node
If you remove it once then the parent does not exist and the parent node then will always be null. In that case there is no use in keeping the node itself unless you plan to use the node somewhere else later on. So kindly let us know your exact requirements and secondly I do not think there is any other way for checking up on a node's parent other than getting it using
getParentNode() checking if it is
null or
not null. Lasse, what is your opinion?