title: Fastest way to parse flat, attribute-heavy xml in Java or Scala
body: <p>If I have a big xml file like the following. What would be the fastest way to parse it in Java or Scala. Streaming individual elements is important but not absolutely essential</p>
  
  <p>All I'm interesting in is getting the attribute values from each result object.</p>
  
  <pre><code>&lt;Response&gt;
      &lt;Result att1="1", att2="2", att3="3", att4="4", att5="5"/&gt;
      &lt;Result att1="1", att2="2", att3="3", att4="4", att5="5"/&gt;
      &lt;Result att1="1", att2="2", att3="3", att4="4", att5="5"/&gt;
      &lt;Result att1="1", att2="2", att3="3", att4="4", att5="5"/&gt;
  &lt;/Response&gt;
  </code></pre>