SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using Windows.Data.Xml.Dom.XmlDocument version of XmlDocument (used in UWP apps for example), you can use yourXmlDocument.GetXml() to get the XML as a string.
Windows.Data.Xml.Dom.XmlDocument
XmlDocument
yourXmlDocument.GetXml()