EDN Admin
Well-known member
http://en.wikipedia.org/wiki/XML XML is an increasingly popular way to encode documents, data, and electronic messages. Over the years Microsoft has offered
a variety of libraries to facilitate creating, modifying, querying, and searching XML documents. http://msdn.microsoft.com/en-us/library/bb387098.aspx <i>LINQ to
XML</i> is a relatively new set of XML-related classes in the .NET Framework (found in the http://msdn.microsoft.com/en-us/library/system.xml.linq.aspx
namespace ), which enable developers to work with XML documents using LINQs features, syntax, and semantics. As discussed in an earlier article,
http://www.4guysfromrolla.com/articles/112509-1.aspx Introducing LINQ to XML , LINQ to XML is a simpler and easier to use API than previous libraries.
Because LINQ to XML can utilize LINQs http://www.4guysfromrolla.com/articles/041509-1.aspx query syntax and assortment of
http://www.4guysfromrolla.com/articles/040109-1.aspx standard query operators , LINQ to XML code is usually very terse and readable.
This article continues our look at LINQ to XML. Specifically, we explore how to query XML documents using axis methods as well as how to search and filter XML documents
using both LINQs
method and http://en.wikipedia.org/wiki/XPath XPath expressions . Read on to learn more!
<i>Note: If you have not yet read http://www.4guysfromrolla.com/articles/112509-1.aspx Introducing LINQ to XML please do so before reading this article...</i>
http://www.4guysfromrolla.com/articles/062310-1.aspx" class="readmore Read More >
View the full article
a variety of libraries to facilitate creating, modifying, querying, and searching XML documents. http://msdn.microsoft.com/en-us/library/bb387098.aspx <i>LINQ to
XML</i> is a relatively new set of XML-related classes in the .NET Framework (found in the http://msdn.microsoft.com/en-us/library/system.xml.linq.aspx
Code:
System.Xml.Linq
http://www.4guysfromrolla.com/articles/112509-1.aspx Introducing LINQ to XML , LINQ to XML is a simpler and easier to use API than previous libraries.
Because LINQ to XML can utilize LINQs http://www.4guysfromrolla.com/articles/041509-1.aspx query syntax and assortment of
http://www.4guysfromrolla.com/articles/040109-1.aspx standard query operators , LINQ to XML code is usually very terse and readable.
This article continues our look at LINQ to XML. Specifically, we explore how to query XML documents using axis methods as well as how to search and filter XML documents
using both LINQs
Code:
Where
<i>Note: If you have not yet read http://www.4guysfromrolla.com/articles/112509-1.aspx Introducing LINQ to XML please do so before reading this article...</i>
http://www.4guysfromrolla.com/articles/062310-1.aspx" class="readmore Read More >
View the full article