WHAT YOU WILL LEARN IN THIS CHAPTER
- How to read and write Extensible Markup Language (XML)
- The rules that apply to well-formed XML
- How to validate your XML documents against two types of schema: XSD and XDR
- How to use XML in your applications
- How to use .NET to use XML in your programs
- How to search through XML documents using XPath queries
WROX.COM CODE DOWNLOADS FOR THIS CHAPTER
You can find the wrox.com code downloads for this chapter at www.wrox.com/remtitle.cgi?isbn=9781118314418 on the Download Code tab. The code is in the Chapter 22 download and individually named according to the names throughout the chapter.
Extensible Markup Language (XML) is a technology that has been receiving great attention for the past few years. XML is not new, and it was certainly not invented by Microsoft for use in the .NET environment, but Microsoft recognized the possibilities of XML early in its development. Because of that you will see it performing a large number of duties in .NET, from describing the configuration of your applications to transporting information between web services.
XML is a way of storing data in a simple text format, which means that it can be read by nearly any computer. The versatility of XML has already been demonstrated in this book, where it has been used to describe user interfaces in WPF and Windows Store applications, as well as to transfer data over the Internet in web applications. It’s even not too difficult for humans to read!
From the first ...