Hi, all... Using VS.Net '03 (vb.net)...
I'm just entering a quick example from the KB, and getting an error right
away. Starting code below... When it hit the doc.Load line I get the error
"An Error occurred while parsing EntityName. line 4, position 28." XML File
contains all valid XML, no special characters or Unicode, etc...
Is there some trick here, or something missing from the samples (three
different samples in the KB use the same method to open an XML file)? Also
tried adding "Imports System.IO", but that didn't help...
Thanks,
Jack
' **********************************************
Imports System.XML
Imports System.Text
dim doc as XmlDocument = New XMLDocument()
doc.Load("c:\test.xml") <-- error here