The top sample in this article, Accessing Attributes in the DOM, shows how to retrieve the attributes and their values for an XML snippet containing only one Element
. If you combine that with the ChildNodes property of the XmlElement class, you could iterate first through all the elements and then through all the attributes of each element.
solved Read XML with c# [closed]