public string dump() { XmlDocument doc = new XmlDocument(); XmlElement elm = this.toDOM(doc); doc.AppendChild(elm); return DOMUtils.ToString(doc); }