26. XML and LINQ to XML


In this chapter you’ll learn:

• To specify and validate an XML document’s structure.

• To create and use simple XSL style sheets to render XML document data.

• To use the Document Object Model (DOM) to manipulate XML in C# programs.

• To use LINQ to XML to extract and manipulate data from XML documents.

• To create new XML documents using the classes provided by the .NET Framework.

• To work with XML namespaces in your C# code.

• To transform XML documents into XHTML using class XslCompiledTransform.

Like everything metaphysical, the harmony between thought and reality is to be found in the grammar of the language.

Ludwig Wittgenstein

I played with an idea, and grew willful; tossed it into the air; transformed ...

Get C# 2010 for Programmers, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.