Manipulating XML in Visual Basic

You can use XML literals to load XML from an external source such as a string, file, or stream. You can then use LINQ to XML to manipulate the XML and use Language-Integrated Query (LINQ) to query the XML.

In This Section

How to: Load XML from a File, String, or Stream
Demonstrates how to load XML into an XDocument or XElement object from a text file, string, or stream.

How to: Transform XML by Using LINQ
Demonstrates how to transform the contents of an XDocument object into a new XML document.

How to: Modify XML Literals
Demonstrates how to modify the elements, attributes, and values in an XML literal.

XML Axis Properties
Provides links to sections that describe the various XML access properties.

Overview of LINQ to XML in Visual Basic
Provides an introduction to using LINQ to XML in Visual Basic.

Creating XML in Visual Basic
Provides an introduction to using XML literals in Visual Basic.

Accessing XML in Visual Basic
Demonstrates how to access parts of an XML element or document in Visual Basic.

XML
Provides links to sections that describe how to use LINQ to XML in Visual Basic.

See Also

XML
LINQ
Introduction to LINQ in Visual Basic