J
JSheble
I have a method in my class that needs to return formatted XML, with the
carriage returns, linefeeds, and tabs... However, when I return
oXml.OuterXml, the Xml is not formatted...
Every example I've seen involves writing the Xml to disk before it's
formatted (or perhaps is formatted while it's being written) which doesn't
help me at all...
So how can I return a formatted Xml string from the XmlDocument object?
Thanx!
carriage returns, linefeeds, and tabs... However, when I return
oXml.OuterXml, the Xml is not formatted...
Every example I've seen involves writing the Xml to disk before it's
formatted (or perhaps is formatted while it's being written) which doesn't
help me at all...
So how can I return a formatted Xml string from the XmlDocument object?
Thanx!