For Each .XmlElementAttributes (gb.xml)

Dim hXmlElementAttributes As .XmlElementAttributes
Dim hXmlNode As XmlNode
For Each hXmlNode In hXmlElementAttributes
  ...
Next

Enumerates all the attributes owned by the element.

The attributes of an element are XmlNodes too, so you can get their values or names by using this class.