Parsing XML attributes

Hi,

I'm hoping there's a simple solution to this. I need to parse the attribute name and their associated values from the XML below:

<EventData>
  <Data Name="SubjectIP">127.127.127.127</Data>
  <Data Name="SubjectUserIsLocal">false</Data>
  <Data Name="SubjectDomainName">MYDOMAIN</Data>
  <Data Name="SubjectUserName">user1</Data>
  <Data Name="ObjectServer">Security</Data>
  <Data Name="ObjectType">Directory</Data>
</EventData>

This is part of a larger xml object which is parsing using an xml filter. Everything is parsing fine, but the attributes and their values are being parsed into an array instead of individual fields.

Any help appreciated.

Thanks.