June 2013
M T W T F S S
« Sep    
 12
3456789
10111213141516
17181920212223
24252627282930

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 [...]