> Thanks for the explanation although I am a bit confused as to why we > would bother to have an interface when we require a specific > implementation.
Sorry, but this really is the way the W3C intends it to work. The interface standardizes most usages of the DOM. But for efficiency of implementation, you really don't want to try to standardize usage inside the implementation, and for that reason nodes from different implementations will generally not be interchangable. The DOM's importNode operation was created specifically to address this case. If you aren't sure the node is from a compatable DOM, import it first; that creates a compatible equivalent. http://www.w3.org/DOM/faq.html#ownerdoc --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org