G
Guest
Hi how to add <?xml version ="1.0" encoding="UTF-8" ?> to my xml below?
Please help.
Code:
XmlDocument xmlDom = new XmlDocument ();
xmlDom.AppendChild(xmlDom.CreateElement ("", "Request", ""));
XmlElement xmlRoot = xmlDom.DocumentElement;
XmlElement xmlBook;
XmlElement xmlTitle, xmlAuthor, xmlPrice;
XmlText xmlText;
Please help.
Code:
XmlDocument xmlDom = new XmlDocument ();
xmlDom.AppendChild(xmlDom.CreateElement ("", "Request", ""));
XmlElement xmlRoot = xmlDom.DocumentElement;
XmlElement xmlBook;
XmlElement xmlTitle, xmlAuthor, xmlPrice;
XmlText xmlText;