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 (Visual Basic)
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 (Visual Basic)
Demonstrates how to transform the contents of an XDocument object into a new XML document.How to: Modify XML Literals (Visual Basic)
Demonstrates how to modify the elements, attributes, and values in an XML literal.
Related Sections
XML Axis Properties (Visual Basic)
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 in Visual Basic
Provides links to sections that describe how to use LINQ to XML in Visual Basic.
See Also
Concepts
Introduction to LINQ in Visual Basic