LINQ to XML Tutorials & Resources
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]
LINQ to XML - Finding Elements with multiple namespaces
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]
LINQ to XML : Handling blank or no Element and Attribute
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]
LINQ to XML : Understanding Annotations
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]
Conditional Linq to XML select (nested select statements)
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]
Equality Semantics of LINQ to XML Trees
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]
How retrieve deeper siblings using LINQ to XML?
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]
Linq to XML parses files in a folder
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]
Unable to Select in LINQ to XML, error: Object reference not set to an instance of an object
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]
Tech Republic Posts a Review of Essential LINQ
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]