I need to create an XML file using an xmldocument object in C#.
How can I add a root element like:
book:aaaa xsi:schemalocationchemaLocation="http://www.com"
XmlDocument doc = new XmlDocument();
XmlElement elem = doc.CreateElement("book", "aaaa", "http://www.com");
doc.AppendChild(elem);