Re: Reading XML with JDOM
"Praveen Gattu" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <[email protected]> |
I have a XML as below. There is always "only one" employee node in the XML. So rather than iterating through the nodes, I want to read the lastname and ssn directly, while ignoring the firstname. What is the best way to do this in JDOM? My most important criteria is speed. We will be processing about a 8,500 of such XML documents per minute (multi-threaded of course) and need something efficient and fast. I appreciate any help you can offer in this regard. > > <response> > <employee> > <firstname>John</firstname> > <lastname>Smith</lastname> > <ssn>111-11-1111</ssn> > </employee> > </response> > > -- > Thanks, > Praveen > > -- Thanks, Praveen Gattu 303-880-7455 _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]