title: How to dynamically change attribute of an xml node with c#
body: <p>I have a c# application that saves user's data to an xml document.  I want to be able to dynamically change the attribute of an xml node based on a user entering different criteria into a text box and choosing to save/overwrite the existing file save.  The problem is that I can't simply delete the node and recreate it with the new attribute as the node has child nodes that can't be deleted.</p>
  
  <p>Does anyone have any ideas or suggestions?</p>
  
  <p>the XmlNode.Attributes method does not provide a way as I can tell to delte just the attribute of a node and reassign it.  I could be wrong though.</p>