how to change xml string value on fly

I have an xml response string and I want to change a value inside and log it.\[code\]<xml><ns2:abcd><password>sample</password></ns2:abcd>\[/code\]I want to change the password value into encrypted version.I am have tried using \[code\]XmlDocument.SelectSingleNode\[/code\] but was thinking is there any better way than this?
 
Back
Top