GeekArticles
Database
SQL Server
Database
SQL ServerAn Extensive Examination of LINQ: Introducing LINQ to XML
<p><a is an increasingly popular way to encode documents, data, and electronic messages. There are a number of ways to programmatically
create, modify, and search XML files. Since its inception, the .NET <a
namespace</a> has included classes for programmatically working with XML documents. For instance, the <a
and <a classes</a> offer developers a means to read from or write to
XML files in a fast, forward-only manner, while the <a class</a>
allows developers to work with an XML document as an in-memory tree representation.
</p><p><a to XML</i></a> is a new set of XML-related classes in the .NET Framework (found in the
<a namespace</a>), which enable developers to work with XML documents features, syntax, and semantics. Compared to existing XML APIs, LINQ to XML is a simpler, easier to use API. For a given task, LINQ to XML code is typically shorter
and more readable than code that uses the <code>XmlDocument</code> or <code>XmlReader</code>/<code>XmlWriter</code> classes. And perhaps most importantly, LINQ to XML allows
you to leverage your existing knowledge and familiarity with standard query operators and query syntax.
</p><p>
This article is the first in a series of articles that examines LINQ to XML. This installment introduces the LINQ to XML API, examines some of the more pertinent classes
in the <code>System.Xml.Linq</code> namespace, and shows how to perform a number of common XML tasks using the API. Read on to learn more!
<br /><a More ></a></p>
Sponsored Links
Related Topics
Subscribe via RSS
SQL Server
- Naming Database Objects: Part II
- Trace Messages Part V: Trace Cleanup
- Naming Database Objects: Part I
- Multiple-Child Aggregation
- Creating SQL Tables for an Integrating Application Using Dexterity
- SQL Server 2005 Beta 2 Transact-SQL Enhancements
- .NET Rocks! - Brian Larson on SQL Server Reporting Services
- Computing the Trimmed Mean in SQL
- SQL Server 2000 Gains on Oracle
- Separator First Formatting (SFF)
