I am using VB.NET to create an output stream in XML format. When I execute
the code below, the XML header line (<?xml version = "1.0"?>) is not
included in the output file. Is there a way to include that?
================ code =================
Dim myFileStream As New System.IO.FileStream(strFN,
System.IO.FileMode.Create)
' Write to the file with the WriteXml method.
ds1.WriteXml(myFileStream)
=================================================