public void Save(string filename)
{
using (XmlTextWriter xmloutput = new XmlTextWriter(filename, Encoding.UTF8)) {
xmloutput.Formatting = Formatting.Indented;
xmloutput.Namespaces = false;
xmloutput.WriteStartElement(rootElement);
eventStore.Save(xmloutput);
controlPointStore.Save(xmloutput);
courseStore.Save(xmloutput);
courseControlStore.Save(xmloutput);
legStore.Save(xmloutput);
specialStore.Save(xmloutput);
xmloutput.WriteEndElement();
}
}