O'Reilly logo

Professional ASP.NET 3.5 SP1 Edition: In C# and VB by Devin Rader, Scott Hanselman, Bill Evjen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Working with XML and LINQ to XML

This is not a book about XML, the eXtensible Markup Language; but XML has become such a part of an ASP.NET programmer's life that the topic deserves its own chapter. Although most of the XML functionality in the .NET Framework appears to be in the System.Xml namespace, you can find XML's influence throughout the entire Framework, including System.Data and System.Web.

XML is oft maligned and misunderstood. To some, XML is simply a text-based markup language; to others it is an object serialization format or a document-encoding standard. In fact, XML has become the de facto standard manner in which data passes around the Internet. XML, however, is not really a technology as much as it is a set of standards or guiding principles. It provides a structure within which data can be stored; but the XML specification doesn't dictate how XML processors, parsers, formatters, and data access methods should be written or implemented. System.Xml, System.Xml.Linq, and other namespaces contain the .NET Framework 3.5's view on how programmers should manipulate XML. Some of its techniques, such as XSLT and XML Schema, are standards-based. Others, like XmlReader and XmlWriter, started in the world of the .NET Framework and now Java has similar classes. The .NET Framework 3.5—along with new compilers for C# 3.0 and VB 9—brings LINQ and LINQ to XML as a Language-Integrated Query over XML to the table.

This is an ASP.NET book, aimed at the professional Web developer, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required