How do I update an XDocument node

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Heres my XML<br/>
<pre lang=x-xml> <COURT>
<NAME></NAME>
<ADDRESS1></ADDRESS1>
<ADDRESS2></ADDRESS2>
<PHONE>
</PHONE>
</COURT>[/code]
Ive gotten down how to query and display the data, but Im not sure how to go about editing it (I see .Save(filename) to persisit it, just not sure how to update "NAME" for example...<br/> <br/> Can someone please point me in the right direction? Im trying to yank out a ton of old XmlDocument code and replace it with XDocument<br/> <br/> Regards,<br/> Steve

View the full article
 
Back
Top