System.Xml.Linq Namespace
Silverlight
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.
Using LINQ to XML, you can:
-
Load XML from files or streams.
-
Serialize XML to files or streams.
-
Create XML trees from scratch by using functional construction.
-
Query XML trees by using LINQ queries.
-
Manipulate in-memory XML trees.
| Class | Description | |
|---|---|---|
|
Extensions | Contains the LINQ to XML extension methods. |
|
XAttribute | Represents an XML attribute. |
|
XCData | Represents a text node that contains CDATA. |
|
XComment | Represents an XML comment. |
|
XContainer | Represents a node that can contain other nodes. |
|
XDeclaration | Represents an XML declaration. |
|
XDocument | Represents an XML document. |
|
XDocumentType | Represents an XML Document Type Definition (DTD). |
|
XElement | Represents an XML element. |
|
XName | Represents a name of an XML element or attribute. |
|
XNamespace | Represents an XML namespace. This class cannot be inherited. |
|
XNode | Represents the abstract concept of a node (one of: element, comment, document type, processing instruction, or text node) in the XML tree. |
|
XNodeDocumentOrderComparer | Contains functionality to compare nodes for their document order. This class cannot be inherited. |
|
XNodeEqualityComparer | Compares nodes to determine whether they are equal. This class cannot be inherited. |
|
XObject | Represents a node or an attribute in an XML tree. |
|
XObjectChangeEventArgs | Provides data for the Changing and Changed events. |
|
XProcessingInstruction | Represents an XML processing instruction. |
|
XStreamingElement | Represents elements in an XML tree that supports deferred streaming output. |
|
XText | Represents a text node. |
| Enumeration | Description | |
|---|---|---|
|
LoadOptions | Specifies load options when parsing XML. |
|
ReaderOptions | Specifies whether to omit duplicate namespaces when loading an XDocument with an XmlReader. |
|
SaveOptions | Specifies serialization options. |
|
XObjectChange | Specifies the event type when an event is raised for an XObject. |
Community Additions
ADD
Show: