Hi George,

George Papamarkos wrote:
>         I am trying to find a way to set the owner document of a node to the
> one I want. Is there any proprietary way to do so?
> I would appriciate any help.

You should use adoptNode [1] either by casting to
org.apache.xerces.dom.DocumentImpl or by using Xerces2 DOM level 3
support (still experimental) [2].


[1] http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-adoptNode
[2] http://xml.apache.org/xerces2-j/faq-dom.html#faq-3

Thank you,
-- 
Elena Litani / IBM Toronto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to