If I create new Nodes via Node.createClone() or Document.newElement(), I now have a Node that belongs to a Document, but has no parent Node. With regards to garbage collection, if this new Node is no longer reachable by the objects in my code, is it eligible for garbage collection, or is there some internal pointer from Document that will pin this Node in memory until the Document is garbage collected?
Thanks, Gary