title: Dynamic parsing of xml attribute key=>value pairs
body: <p>Is it possible to loop through a set of <code>&lt;marker&gt;</code> in an xml document and dynamically access key=>val of attributes and their value of the marker?</p>
  
  <pre><code>&lt;marker attr1="val1" attr2="val2" /&gt;&lt;marker attrA="vala" attrB="valB" /&gt;
  </code></pre>
  
  <p>I want to be able to access attr1, attr2, attrA, attrB and their values with out having to explicitly call those attributes, but rather have it automatically set the key to "attr1" and val as "val1" and so forth.</p>