[jdom-interest] How to get org.w3c.dom.Element to something which can be outputed by XMLOutputter

Jason Hunter jhunter at collab.net
Mon Sep 4 13:28:35 PDT 2000


> I am looking for a way to re-generate and output the XML file from
> this parameter. I can't think of a way to get a org.jdom.Document from
> a org.w3c.dom.Element. Any advice would be appreciated

The best way is using org.jdom.Element
DOMBuilder.build(org.w3c.dom.Element).  That particular method is not
written yet but it's in our TODO to be done.  The code you need is in
DOMBuilder, it just needs to be broken out.  Feel free to help do that
breakout.

-jh-





More information about the jdom-interest mailing list