I need to write to a memory stream of type \[code\]Stream\[/code\] some XML content. (Not a file)
I would like to know how can I use \[code\]XmlWriter\[/code\] or other known classes in order to create xml hierarchical tree with lets say some recursive function. I want to be able to write child xml tags of other parental tags etc.I've seen something like this in the following link, but not sure this is the way, and these are Hardcoded examples.
http://msdn.microsoft.com/en-us/library/bb387089.aspx
I would like to know how can I use \[code\]XmlWriter\[/code\] or other known classes in order to create xml hierarchical tree with lets say some recursive function. I want to be able to write child xml tags of other parental tags etc.I've seen something like this in the following link, but not sure this is the way, and these are Hardcoded examples.
http://msdn.microsoft.com/en-us/library/bb387089.aspx