title: Linq read XML doc with missing nodes
body: <p>Hi
     I want to read an XML document but it may have some of the node missing and if so I want to use a defualt value for the missing nodes.</p>
  
  <pre><code>XDocument xmlDoc = XDocument.Load(Path.Combine(Application.StartupPath, "queues.xml"));
          var q = from c in xmlDoc.Root.Descendants("Queue")
                  select new Queue
                  {
                      Alert1 =c.Element("Alert1").Value,
                      Alert2 = c.Element("Alert2").Value,
                      Alert3 =c.Element("Alert3").Value
                  };
  
          var queryAsList = new BindingList&lt;Queue&gt;(q.ToList());
  
  
      class Queue
  {
      public string Alert1 { get; set; }
      public string Alert2 { get; set; }
      public string Alert3 { get; set; }
  }
  </code></pre>
  
  <p>so in the above only alert1 may exist or all the alerts or none of the alerts! I need to use a default Value for any nodes that does not exist!</p>
  
  <p>I thought I could Alert3 =c.Element("Alert3").Value.DefaultEmpty("abc") but this doesn't work!</p>