Thanks to the answer I received here I was able to produce the xml file.
How do I control whether the top line says
<?xml version="1.0"?> or <?xml version='1.0'?> single or double quotes
How do I produce an xsd for the xml files I produce?
I'm writing a c# executable in visual studio 2008 .net framework 3.5.