I have an xml file:
<srtch Name="tchfn" version="v.1.1.02" />
<vrttch Name="tchfn 02" version="v.1.1.03" />
<ghsch Name="tchfn 03" version="v.1.1.04" />
I need to check if vrttch exists and if yes I need to change version. If it does not exist need to create new entry.
I am completely new to C#. I have tried xmlreader. I able to check if its of type element but I could not set the attributes.
Any help would be grateful