LINQ to XML

Resources by common categories

Rating
 

LINQ to XML Tutorials & Resources

Posted by GeorgeH on August 17, 2011

The following is a range of LINQ to XML tutorials and resources. A short summary has been included from the beginning of each. LINQ to XML LINQ to XML prov... [read more]

Rating

LINQ to XML - Finding Elements with multiple namespaces

Posted by Programmer's Goodies on November 2, 2011

I am having troubles finding elements in an Xml file using LINQ to XML in C# 4.0. Here is the simplified Xml Schema: <?xml version="1.0" encoding="utf-8"?>... [read more]

Rating
 

LINQ to XML : Handling blank or no Element and Attribute

Posted by Wriju on May 5, 2011

It quite so happen that you are working with XML where you are expecting a specific element in every set. But somehow that is missing in some of the sets. Now... [read more]

Rating
 

LINQ to XML : Understanding Annotations

Posted by Wriju on May 21, 2009

Annotations are used for private use. It does not directly associated and known as Black Box in XML world. This can also be considered as meta tag. Below is a... [read more]

Rating

Conditional Linq to XML select (nested select statements)

Posted by Programmer's Goodies on November 12, 2011

I’m trying to view all my friends from facebook who went to some school. I use FQL to get an xml file that contains all my friends with their education info. ... [read more]

Rating

Equality Semantics of LINQ to XML Trees

Posted by Microsoft XML Team on February 17, 2009

In certain scenarios, it is important to be able to compare two XML trees for equivalence.  For example, if you are writing a web service that serves results o... [read more]

Rating

How retrieve deeper siblings using LINQ to XML?

Posted by Programmer's Goodies on August 28, 2011

I have an XML structure as follows. I need to extract “Value” and “String” by matching the command attributes? How to write LINQ for this? <Root> ... [read more]

Rating

Linq to XML parses files in a folder

Posted by Programmer's Goodies on September 23, 2011

So I have this code building with no errors but I need to alter how its opening the xml documents. Right now it can open a single xml documents what I need it t... [read more]

Rating
 

Unable to Select in LINQ to XML, error: Object reference not set to an instance of an object

Posted by Programmer's Goodies on September 2, 2011

I am new at using Linq to XML and have run across a rather troublesome error. When trying to pull in my XML file I get an error that reads “Object reference n... [read more]

Rating
 

Tech Republic Posts a Review of Essential LINQ

Posted by Charlie Calvert on August 29, 2009

On the Tech Republic web site Justin James has written a review of Essential LINQ, the book Dinesh Kulkarni and I wrote about the key features of LINQ such as ... [read more]