Gary, Under the DOM model (the W3C DOM), the Document IS the root object (it is, itself a Node though), and therefore, I don't think you are able to create a Document from a Node. Others, more experienced in the DOM, may provide better guidance.
HTH steve Gary Johnson wrote: > I would like to be able create a Document object from a Node object. > > I tried using node.GetDocument() but this retrieves the parent Document. > How can I efficiently create a new Document from a Node? > > Thanks > G > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote > _______________________________________________ > dom4j-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dom4j-user ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user