public XmlDocument MakeXml() { var document = new XmlDocument(); document.LoadXml("<root><child>text</child></root>"); return document; }