Hi!
Is there any way to indent xml in XmlDocument object?
I have a xml document in XmlDocument object, and there is no whitespaces. When I print it (to console), it is hard to read. I think, indenting the document makes it much more readable.
XmlTextWriter class has a property called Formatting, which can get value Formatting.Indented. Is there any similar way for XmlDocument?
br. Juha Ka
Is there any way to indent xml in XmlDocument object?
I have a xml document in XmlDocument object, and there is no whitespaces. When I print it (to console), it is hard to read. I think, indenting the document makes it much more readable.
XmlTextWriter class has a property called Formatting, which can get value Formatting.Indented. Is there any similar way for XmlDocument?
br. Juha Ka