SUB Open ( FileName AS String [ , Indent AS Boolean, Encoding AS String ] )
Opens an XML for writting. You have to call it prior to use any of the XmlWriter object methods.
FileName: can be a valid path name, if you want to directly write an XML file, or a NULL String, if you want to receive it as an string calling EndDocument when all the document has been written.
Indent: if true, the file will be formatted using tabulations and carry returns, in order to be more "human readable". If false, the file will not be formatted.
Encoding: By default, XmlWriter uses UTF-8 encoding to write the file. You can specify any different encoding, if it is supported by libxml2.