Using the XmlWriterSettings Class
Indent the XML output
Use a TAB instead of two spaces when indenting
Start a new line on each attribute
Use two Return characters instead of one for new lines
Omit the XML declaration
Set the conformance level to Fragment and write two root nodes
Set the Encoding to
ASCII
UTF7
UTF8
UTF32
Unicode
BigEndianUnicode
Contents of the XML output:
[
view source
]
©2005
Dave And Al
,
Stonebroom Limited
, England.