August 2003
Beginner to intermediate
600 pages
12h 57m
English
Before starting to write XML data, you should consider whether and how the XML should be formatted. Formatting can make your XML data appear more organized and more readable to the human eye.
Formatting is controlled by the Formatting property of the XmlTextWriter. The Formatting property accepts an enumeration of the type System.Xml.Formatting. The enumeration has two values: Indented and None. None is the default value, meaning that no formatting is performed by a newly created XmlTextWriter. Setting the Formatting property to Formatting.Indented means that child elements will be indented.
You can specify which character to use for indention as well as how many of those characters equal one indention. This ...
Read now
Unlock full access