I get a null exception on this because MYTAG1 doesn't exist. I understand that this is because Element("MYTAG1") is null and calling Elements("MYTAG2") on it wont work.
How do I deal with this to prevent the crash?
var myItems = from myNode in Nodes.Element("MYTAG1").Elements("MYTAG2")
select new EPTableItem
{
// Assign stuff here
};