title: Parsing XML with multiple same name child per Element with java
body: <p>this response is formatted a bit different than what I am use to . The child nodes are all part of a single element. All the children have the same names and the tags are in a generic format. I need each of these nodes to comprise a single record. The conventional program logic is not accounting for the multiple same name children. I have considered creating an additional element that is comprised of the child nodes named  and then pulling the values of each node. Is this the correct method, or is there another way this type of response should be handled? Lastly, is this response formatted correctly? It seems this structure does not lend itself to parsing.</p>
  
  <pre><code>&lt;Properties xmlns="urn:Microsoft.Search.Response.Document.Document"&gt;
       &lt;Property&gt;
           &lt;Name&gt;USERPROFILE_GUID&lt;/Name&gt;
           &lt;Type&gt;String&lt;/Type&gt;
           &lt;Value&gt;XXXXX97D-6XX7-XXX9-XX0A-XXXXXF0D5&lt;/Value&gt;
       &lt;/Property&gt;
       &lt;Property&gt;
           &lt;Name&gt;ACCOUNTNAME&lt;/Name&gt;
           &lt;Type&gt;String&lt;/Type&gt;
           &lt;Value&gt;APAC\johnny.good&lt;/Value&gt;
       &lt;/Property&gt;
       &lt;Property&gt;
           &lt;Name&gt;USERNAME&lt;/Name&gt;
           &lt;Type&gt;String&lt;/Type&gt;
           &lt;Value&gt;johnny.good&lt;/Value&gt;
       &lt;/Property&gt;
       &lt;Property&gt;
           &lt;Name&gt;PREFERREDNAME&lt;/Name&gt;
           &lt;Type&gt;String&lt;/Type&gt;
           &lt;Value&gt;Good, Johnny&lt;/Value&gt;
       &lt;/Property&gt;
       &lt;Property&gt;
           &lt;Name&gt;FIRSTNAME&lt;/Name&gt;
           &lt;Type&gt;String&lt;/Type&gt;
           &lt;Value&gt;Johnny&lt;/Value&gt;
       &lt;/Property&gt;
       &lt;Property&gt;
           &lt;Name&gt;LASTNAME&lt;/Name&gt;
           &lt;Type&gt;String&lt;/Type&gt;
           &lt;Value&gt;Good&lt;/Value&gt;
       &lt;/Property&gt;
   &lt;/Properties&gt;
  </code></pre>