String Operation to get particular value inside the string using java
<p>I have a string as below.</p>

<pre><code>&lt;employees&gt;
&lt;emp&gt;
&lt;name&gt;yaakobu&lt;/name&gt;
&lt;sal&gt;$20000&lt;/sal&gt;
&lt;designation&gt;Manager&lt;/designation&gt;
&lt;/emp&gt;

&lt;emp&gt;
&lt;name&gt;daaniyelu&lt;/name&gt;
&lt;sal&gt;$2000&lt;/sal&gt;
&lt;designation&gt;Operator&lt;/designation&gt;
&lt;/emp&gt;

&lt;emp&gt;
&lt;name&gt;paadam&lt;/name&gt;
&lt;sal&gt;$7000&lt;/sal&gt;
&lt;designation&gt;Engineer&lt;/designation&gt;
&lt;/emp&gt;
&lt;/employees&gt;
</code></pre>

<p>The above xml i am getting as a string.i was asked not to use parsing due to performance issue.I need to get the second employee 's salary($2000) using  java's string operation.Please provide me some pointers.</p>

<p>Your help appreciated.</p>
