Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Why get "this document already has a document element node"? [Thread Next] Re: Why get "this document already has a document element node"?To: NULL Date: 12/8/2008 5:39:00 PM Rof wrote:
> I am using a System.XML.XMLDocument. My XML is :
>
> <network>
[snip]
I took your posted XML and saved it, then used
XmlDocument doc = new XmlDocument();
doc.Load(@"..\..\XMLFile1.xml");
to load it and that worked fine for me.
So you must be doing something else that is causing that error message.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
