title: How can I read values from XML and save it in Hashmap using Java
body: <p>I'm new to XML parsing, I trying to retrieve data following XML n save it in hashmap. I want <strong>Description, id and name</strong> from each Fields to be saved in Hashmap.</p>
  
  <pre><code> &lt;Entities TotalResults="13689"&gt;
           &lt;Entity Type="test"&gt;
                &lt;Fields&gt;
                     &lt;Field Name="description"&gt;
                         &lt;Value&gt;I want to print THIS&lt;/Value&gt;
                     &lt;/Field&gt;
                     &lt;Field Name="id"&gt;&lt;Value&gt;1357&lt;/Value&gt;&lt;/Field&gt;
                     &lt;Field Name="vc-comments"&gt;&lt;Value&gt;&lt;/Value&gt;&lt;/Field&gt;
                     &lt;Field Name="name"&gt;
                         &lt;Value&gt;locked manager - lock state&lt;/Value&gt;
                     &lt;/Field&gt;
                     &lt;Field Name="has-linkage"&gt;&lt;Value&gt;N&lt;/Value&gt;&lt;/Field&gt;
                 &lt;/Fields&gt;
           &lt;/Entity&gt;
           &lt;Entity Type="test"&gt;
                &lt;Fields&gt;
                     &lt;Field Name="description"&gt;&lt;Value&gt;Print this&lt;/Value&gt;&lt;/Field&gt;
                     &lt;Field Name="user-06"&gt;&lt;Value&gt;&lt;/Value&gt;&lt;/Field&gt;
                     &lt;Field Name="id"&gt;&lt;Value&gt;1358&lt;/Value&gt;&lt;/Field&gt;
                     &lt;Field Name="name"&gt;
                         &lt;Value&gt;locked manager - stealing a key &lt;/Value&gt;
                     &lt;/Field&gt;
                     &lt;Field Name="vc-status"&gt;&lt;Value&gt;&lt;/Value&gt;&lt;/Field&gt;
                &lt;/Fields&gt;
           &lt;/Entity&gt;
       &lt;/Entities&gt;
  </code></pre>