Hello ,
I am trying to write to xml document (c#) by this code:
XmlTextWriter xml_writer=null;
xml_writer=new XmlTextWriter("Database.xml",null);
xml_writer.WriteStartDocument();
xml_writer.WriteStartElement("", "Account", "");
The problem is that when I am trying to open the xml I see there such an
error (instead of the normal xml doc):
XML document must have a top level element. Error processing resource
Someone can tell me what is wrong?
Thank you very much!
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!