Suppose there is a ready-made XML document like:
<wpt lat="59.546486655250192" lon="30.110270230099559"> <time>2017-01-21T07:12:09Z</time> <name>001</name> <sym>Flag, Blue</sym> <type>user</type> <extensions> ......... </extensions> </wpt> You need to insert new nodes "cmt" and "desc" exactly how
<wpt lat="59.546486655250192" lon="30.110270230099559"> <time>2017-01-21T07:12:09Z</time> <name>001</name> <cmt>21-JAN-17 10:12:09</cmt> //это <desc>21-JAN-17 10:12:09</desc> //и это <sym>Flag, Blue</sym> <type>user</type> <extensions> ......... </extensions> </wpt> Insert after the tag "name" - this is sooooo fundamentally.
Is this possible using XML classes from C #? (if yes, show me pliz how) Or shines to write a prog to work with lines in the file, cut-paste ...
Thanks in advance for your valuable advice! :)