<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3017.2400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am a newbie so please bear with
me....</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I can currently create a JDOM from DOM using the
available input classes. But what I really want to do is create a JDOM
from a custom XMLReader class.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Basically, I have a subclassed version of import
org.xml.sax.InputSource and org.xml.sax.XMLReader classes. I can then
listen for SAX events using a ContentHandler class. I like this as I can
pass the XMLReader to other development tools and things generally work pretty
well. I don't want to create a DOM ( from import
com.sun.xml.tree.XmlDocumentBuilder ) just to turn around and pass this into
DOMBuilder to get a JDOM.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Is there an easier way to accomplish what I
want?</FONT></DIV></BODY></HTML>