[jdom-interest] Parsing only root element

bob mcwhirter bob at werken.com
Mon Nov 11 13:09:18 PST 2002

Maybe use an XML Pull Parser (I have no experience) or magical SAX
handlers?  I don't think JDOM can help you.  JDOM (and most of the
other models too) typically are an all-or-nothing type of thing.


On Mon, 11 Nov 2002 daves.subscriptions at SAFe-mail.net wrote:

> How can I parse only the root element of a document?  I want to save the time and space of parsing the entire document since I am only interested in the attributes and namespace of the root element.
> Thanks,
> -- Dave
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

Bob McWhirter        bob at werken.com
The Werken Company   http://werken.com/

More information about the jdom-interest mailing list