I need to extract attributes from an XML file and then add them to a listview.
How do I use Xpath (winforms) to extract attributes:
e.g:
<element foo="1" meh="2" lol="3" hi="4">meh</element>
How do I extract the data within “foo” and “lol” for example? (So “1” and “3”)
of course if you want to get such nodes from a c# application you need to do something like this: