Use the XPathNavigator to edit and read XML. This article demonstrates how you can do, using conditions. ...