Summary
The .NET Framework offers a special LINQ provider named LINQ to XML that enables working with XML documents. Via the System.Xml.Linq namespace, this provider allows creating and manipulating XML documents in an efficient way. Classes such as XDocument, XElement, XAttribute, XComment, and XDeclaration are self-explanatory and allow easy generation of XML documents. To query XML documents, you just write LINQ queries using the unified syntax that you already know, with a few additions such as the Descendants or Attribute property. Although efficient, System.Xml.Linq can be confusing when XML documents become larger. Luckily, Visual Basic provides the XML literals feature that enables the writing of XML markup code directly into the VB ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access