I have an xml Structure:
<?xml version="1.0" encoding="utf-16"?>
<Request>
<Operations>
<Command>
<OpType>login </OpType>
<Params>
<UserName>leebo </UserName>
<Password>leebo </Password>
</Params>
</Command>
</Operations>
</Request>
I'm trying to find out how to change the value of an element, say
<userName>joh n</UserName>
I'm using an XmlDocument, but I've been searching MSDN and google
groups for a couple of hours and I can't seem to find an answer.
Must I create and use an XMLWriter to perform this one small function?
Basically, I just need to change one element's value.
Sorry for such as basic question.
--
Warm Regards,
Lee
Comment