title: java convert string to xml and parse node
body: <p>Hello I am getting back a string from a webservice.</p>
  
  <p>I need to parse this string and get the text in error message?</p>
  
  <p>My string looks like this:</p>
  
  <pre><code>&lt;response&gt;
  &lt;returnCode&gt;-2&lt;/returnCode&gt;
  &lt;error&gt;
  &lt;errorCode&gt;100&lt;/errorCode&gt;
  &lt;errorMessage&gt;ERROR HERE!!!&lt;/errorMessage&gt;
  &lt;/error&gt;
  &lt;/response&gt;
  </code></pre>
  
  <p>Is it better to just parse the string or convert to xml then parse?</p>