nested elements with dataset.WriteXml()?
I'm trying to write an app that will save a given folder's descendant files and folders in an xml file. As I want to closely mimic the directory structure (ie. folder within folder within folder, etc..), my xml file would have <folder> elements that can contain any number of <folder> elements within themselves, and so on.
I want to use the dataset.WriteXml and dataset.ReadXml functions(.NET) to write/read the xml file but how does one do this with nested elements? This is giving me major headaches.
This would be fairly simple to do if every <folder> element was a child of the root element...
Is not using the WriteXml, ReadXml functions the only solution?

