Xml. Linq Namespace
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the classes for LINQ to XML. LINQ to XML is an in-memory XML programming interface that enables you to modify XML documents efficiently and easily.
Contains the LINQ to XML extension methods.
Represents an XML attribute.
Represents a text node that contains CDATA.
Represents an XML comment.
Represents a node that can contain other nodes.
Represents an XML declaration.
Represents an XML document. For the components and usage of an XDocument object, see XDocument Class Overview.
Represents an XML Document Type Definition (DTD).
Represents an XML element. See XElement Class Overview and the Remarks section on this page for usage information and examples.
Represents a name of an XML element or attribute.
Represents an XML namespace. This class cannot be inherited.
Represents the abstract concept of a node (element, comment, document type, processing instruction, or text node) in the XML tree.
Contains functionality to compare nodes for their document order. This class cannot be inherited.
Compares nodes to determine whether they are equal. This class cannot be inherited.
Represents a node or an attribute in an XML tree.
Represents an XML processing instruction.
Represents elements in an XML tree that supports deferred streaming output.
Represents a text node.
Specifies load options when parsing XML.
Specifies whether to omit duplicate namespaces when loading an XDocument with an XmlReader.
Specifies serialization options.
Specifies the event type when an event is raised for an XObject.
Using LINQ to XML, you can:
Load XML from files or streams.
Serialize XML to files or streams.
Create XML trees from scratch using functional construction.
Query XML trees using LINQ queries.
Manipulate in-memory XML trees.
Validate XML trees using XSD.
Use a combination of these features to transform XML trees from one shape into another.