Modifying XML Files


I have been trying to modify an XML document on Fez Panda II by using XmlWriter class with no success. What I have been trying to is similar to following:

Lets have a structure like this:

1 2

I have been trying to modify this structure like following:


To succeed, I have tried to implement a MyXmlWriter which inherits XmlWriter with the to obtain Stream object. But this method is not successful since protection.

What you suggest for this problem?

Thanks in advance.

Welcome to the community…!

This should help.


It is very helpful Jay Jay, thank you so much.

Best wishes.