I have this XML:
<?xml version="1.0" encoding="UTF-8"?>
<keywords>
<keyword subject="x">a</keyword>
<keyword subject="y">b</keyword>
</keywords>
I would like to extract the node and attribute values from the above XML example like so:
a|x, b|y
Is this possible in C#?
XmlReaderto parse the XML and extract what is required.