Tech Tutorials Database
GeekArticles Database SQL Server
 

An Extensive Examination of LINQ: Introducing LINQ to XML

 
Author: 4guysfromrolla.com
Category: SQL Server
Comments (0)

<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 &gt;</a></p>

Read More...




Sponsored Links




Read Next: Removing Unnecessary HTTP Headers in IIS and ASP.NET



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe