How do I convert a org.w3c.dom.Document to a
org.dom4j.Document?

Perhaps the DocumentFactory and DocumentHelper classes
should contain a method such as the following...

public static org.dom4j.Document
createDocument(org.w3c.dom.Document document);

...which would imply that implementations of
org.dom4j.Document would have a constructor that
accepts a org.w3c.dom.Document.

In any case, if I am using another parser (such as
JTidy) that returns a W3C Document, and then wish to
initialize a DOM4J Document with the returned
document, how do I do so? I only found methods to do
DOM4J -> W3C conversions, contained in the
DOMNodeHelper class.

Thanks!

=====
--
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to