I'm currently looking for a way to read attributes from multiple XElements into an array, but I couldn't figure out how. My XML file looks like this:
<transaction date="02.11.2018" product="product1" price="0,1$" amount="1" profit="0,1$" />
<transaction date="02.11.2018" product="product2" price="1$" amount="1" profit="1€" />
<transaction date="02.11.2018" product="product1" price="1$" amount="3" profit="3$" />