Hi!
I am loading an existing xml file and then save like this:
Dim xmldoc1 As XmlDocument
xmldoc1 = New XmlDocument
xmldoc1.Load(thaFile)
xmldoc1.Save(thaFile)
But when the xml file is saved some of the root element is missing, like this:
before: <?xml version="1.0"?>
after: xml version="1.0"?>
..as you see the '<?' is deleted at the start of the element. I am goin' nuts!!
Please help!!!
Tommy
I am loading an existing xml file and then save like this:
Dim xmldoc1 As XmlDocument
xmldoc1 = New XmlDocument
xmldoc1.Load(thaFile)
xmldoc1.Save(thaFile)
But when the xml file is saved some of the root element is missing, like this:
before: <?xml version="1.0"?>
after: xml version="1.0"?>
..as you see the '<?' is deleted at the start of the element. I am goin' nuts!!
Please help!!!
Tommy