I'm using the class like this:
Using Writer As XmlWriter = XmlWriter.Create(XMLFileWithPath, XMLFile)
Try
Writer.WriteStartElement("Scenes")
For Inner = 1 To Scenes.Count
Writer.WriteStartElement("Scene")
TempScene = cProject.SceneByIndex(Inner)
Writer.WriteElementString("ID", TempScene.ID)
Writer.WriteElementString("Title", TempScene.Title)
Writer.WriteElementString("Desc", TempScene.DescText)
Writer.Flush()
(etc, etc)
Is it necessary to use Flush after every 'WriteElementString' And should I be doing something completely different I modelled my code on an example found on the web somewhere.
Here's an example from the output file... not sure whether it'll display correctly:
<Status>1</StaôÎus>