I'm trying to look at the best way of changing the value of an element in XML.
<MyXmlType>
<MyXmlElement>Value</MyXmlElement>
</MyXmlType>
What is the easiest and/or best way to change "Value" in C#?
I've looked at XMLDocument and it will cause a load of the whole XML document to memory. Could you do it safely with the XMLReader. The problem is changing the value and emitting it back seems like an interesting conundrum.
Cheers :D
See Question&Answers more detail:os