<div dir="ltr"><div class="gmail_quote">I have a XML as below. There is always &quot;only one&quot; 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&nbsp; (multi-threaded of course) and need something efficient and fast. I appreciate any help you can offer in this regard.<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">

<br>&lt;response&gt;<br>&nbsp; &lt;employee&gt;<br>&nbsp;&nbsp;&nbsp; &lt;firstname&gt;John&lt;/firstname&gt;<br>&nbsp;&nbsp;&nbsp; &lt;lastname&gt;Smith&lt;/lastname&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ssn&gt;111-11-1111&lt;/ssn&gt;<br>&nbsp; &lt;/employee&gt;<br>&lt;/response&gt;<br clear="all">


<br>-- <br>Thanks,<br>Praveen<br><br></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br>Praveen Gattu<br>303-880-7455<br>
</div>