Advanced LINQ to XML Programming

This section provides information that will only be applicable to advanced developers in certain LINQ to XML scenarios. 

In This Section

Topic

Description

LINQ to XML Annotations

Describes how to add annotations to LINQ to XML nodes and attributes.

LINQ to XML Events

Describes how to write event handlers for events that occur when you alter an XML tree.

Programming with Nodes

Describes how to query and manipulate nodes at a finer level of granularity than elements and attributes.

Mixed Declarative Code/Imperative Code Bugs (C#) (LINQ to XML)

Describes the problems that appear when you mix declarative code (queries) with imperative code (code that modifies the XML tree).

How to: Stream XML Fragments with Access to Header Information

Describes how to stream XML fragments from an XmlReader. You can use this technique to control the memory footprint of your application.

How to: Perform Streaming Transform of Large XML Documents

Describes how to stream XML from an XmlReader, transform the XML fragment, and stream the output using XStreamingElement.

How to: Read and Write an Encoded Document

Describes how to read and write XML documents that are encoded.

Using XSLT to Transform an XML Tree

Describes how to transform an XML tree using XSLT.

How to: Use Annotations to Transform LINQ to XML Trees in an XSLT Style

Describes how annotations can be used to facilitate transforms of an XML tree.

Serializing Object Graphs that Contain XElement Objects

Describes how to serialize object graphs that contain XElement and XDocument objects.

WPF Data Binding with LINQ to XML

Describes how to use LINQ to XML as the data source for data binding in Windows Presentation Foundation applications.

See Also

Concepts

Programming Guide (LINQ to XML)