title: XML into an array
body: <p>Can somebody tell me how to parse information from XML to array.
  So I have an XML that looks like this:</p>
  
  <pre><code>&lt;name&gt;
    &lt;gps&gt;coordinate1&lt;/gps&gt;
    &lt;gps&gt;coordinate2&lt;/gps&gt;
    ...
  &lt;/name&gt;
  ...
  </code></pre>
  
  <p>So I would like to pull out the value of the name tag, put it into a variable, and then pull out the value of the gps tag, basically the coordinates and store them into an array.</p>