I have a problem. I want to get Attributes of an Element. The clue of my problem is, that all Elements have the same name.
How the XML-Data looks
<Sampels>
<Sampel Attribute1="a" Attribute2="b" Attribute3="3" Attribute4="d" />
<Sampel Attribute1="asdf" Attribute2="b" Attribute3="3" Attribute4="name" />
<Sampel Attribute1="" Attribute2="" Attribute3="66" Attribute4="attri" />
<Sampel Attribute1="" Attribute2="b" Attribute3="" Attribute4="sampelname" />
</Sampels>
I want to get the Attributes by knowing the right Element, specified from Attribute4.