Introduction
XML is the most popular open standard format for exchanging information in today's world. XML is human and machine readable. We don't go into detail about XML theory in this chapter, but if you want a better understanding on this topic you can refer to the online resource at http://www.w3.org/standards/xml/.
XML can be parsed using two different methods. The first method is using LINQ to XML, and the second method is using XmlReader. XmlReader is used for reading many documents or large documents that have the same structure. On the other hand, if you are reading a different structured XML, you can use LINQ to XML. XmlReader can be used for forward-only and read-only situations. If we need to write or create XML content, then the XmlWriter
class is used. Caution should be exercised as large documents can take up significant resources and memory that can slow the response time of the application.
LINQ to XML is an interface supported in the WP7 (Windows Phone 7) for reading, editing...