> I have an org.w3c.dom.Node and I need to cast/convert it to an
> org.dom4j.Node,

There is no way of converting an org.w3c.dom.Node to an
org.dom4j.Node.

You can however use the DOMReader to convert an
org.w3c.dom.Document to an org.dom4j.Document.

DOMReader reader = new DOMReader();
org.dom4j.Document result = reader.read( (org.w3c.dom.Document)doc);

Regards,
Edwin
--
http://www.edankert.com/


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to