Modifying XML Files

Hello,

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:


1
2
3

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.

Cheers,

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

Best wishes.