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.
Related Sections
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
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho