M
martin
Hi,
I am copying an xml file like so.
Dim xmlDoc As New XmlDocument
xmlDoc.Load("C:\Program Files\Templates\message.msg")
Console.WriteLine("Tmaplate loaded")
xmlDoc.Save("C:\Program Files\Templates\copy.xml")
Console.WriteLine("message saved")
Now the xml file copies and is capable of being end with IE, however the xml
file that is prodced is not able to be copied using the method above.
The reason is the produced xml file has three additional bytes at the start
of it (ie before the "<xml" part)
my question is.
does anybody know why this is and how to get rid of the three additional
bytes at the start of the file.
many thanks in advance.
martin.
I am copying an xml file like so.
Dim xmlDoc As New XmlDocument
xmlDoc.Load("C:\Program Files\Templates\message.msg")
Console.WriteLine("Tmaplate loaded")
xmlDoc.Save("C:\Program Files\Templates\copy.xml")
Console.WriteLine("message saved")
Now the xml file copies and is capable of being end with IE, however the xml
file that is prodced is not able to be copied using the method above.
The reason is the produced xml file has three additional bytes at the start
of it (ie before the "<xml" part)
my question is.
does anybody know why this is and how to get rid of the three additional
bytes at the start of the file.
many thanks in advance.
martin.