When I load an XmlDocument, it adds  characters after the "Profile.dtd"
Posted on 2011-09-16
I have a VB app that uses XML. When I load an XmlDocument from an actual XML file,  characters are added right after the "Profile.dtd" in the second line of the XmlDocument's OuterText.
<!DOCTYPE Profile_Instance SYSTEM "Profile.dtd"> becomes...
<!DOCTYPE Profile_Instance SYSTEM "Profile.dtd">
And this is the way the resulting file is written out. This then messes things up.
Is there any way to keep the  charcters from being added in?
Thanks in advance,