Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Read, write, and validate XML by using the XmlReader class and the XmlWriter class.
MSDN has an page on the new stuff as afar as XML is concerned.
The XmlReader provides readonly/forwardonly access to Xml Data. To create an implementation of the XmlReader (XmlTextReader, XmlNodeReader, XmlValidatingReader), call the Create method. The big change is that you can associate a Schema with a XmlReader, rather than having to fake it with XmlValidatingReader.
To read all the XML content, you can use the ReadInnerXml or ReadOuterXml methods. To get a specific element, you call MoveToElement, and then read the content by using .Name or .Value properties. To get a specific attribute, you would call either MoveToFirstAttribute or MoveToNextAttribute.
The XmlTextReader is a reader that enforces the rules of well-formed XML. An XmlException is thrown when it encounters bad XML.
The XmlNodeReader is a reader that works off an XmlDocument. Functionally works the same as XmlReader.
The XmlValidatingReader is a reader that makes sure the XML conforms to known schemas contained in the Schemas collection. This is now obsolete because the XmlReader now has this built in.
The XmlWriter contains all the methods necessary to write XML. WriteStartElement, WriteEndElement, WriteStartAttribute, WriteEndAttribute, WriteCData, WriteComment....
Next up-> The rest of WinForm Controls