May 2013
M T W T F S S
« Sep    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Default namespace for LINQ to XML query

Linq rocks completely, however when you write queries against XML documents that have namespaces (and most likely the document will only have one namespace) you have to specify them in your queries. Here’s a nice solution from mike a moogly.me.uk – just strip all of the useless namespaces from XDocument object and query away! public [...]