[jdom-interest] how do i convert a org.w3c.dom.Document to a jdom document?

Bolt, Dave boltd at atsc.army.mil
Wed Aug 16 06:30:23 PDT 2000


Use something like the following

// Assumptions. domDoc is a org.w3c.dom.Document

import org.jdom.input.*;

DOMBuilder in = new DOMBuilder();
Document jdomDoc = in.build(domDoc);

jdomDoc is now a JDOM version of the DOM document domDoc

Now, I haven't used this, so I don't know how it works, but this is what the
code says
should happen.


Dave Bolt
ATSC/SPAWAR ASAT Team
Bolt's Law of Bandwidth - There is always plenty of network bandwidth, just
none for you.


-----Original Message-----
From: Wu, Charlie [mailto:cwu at netfish.com]
Sent: Tuesday, August 15, 2000 6:45 PM
To: 'jdom-interest at jdom.org'
Subject: [jdom-interest] how do i convert a org.w3c.dom.Document to a
jdom document?


thanks

Charlie
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com



More information about the jdom-interest mailing list