title: parse Linq To Xml with attribute nodes
body: <p>I am having xml with following structure </p>
  
  <pre><code>&lt;ruleDefinition appId="3" customerId = "acf"&gt;
      &lt;node alias="element1" id="1" name="department"&gt;
          &lt;node alias="element2" id="101" name="mike" /&gt;
          &lt;node alias="element2" id="102" name="ricky" /&gt;
          &lt;node alias="element2" id="103" name="jim" /&gt;
      &lt;/node&gt;
  &lt;/ruleDefinition&gt;
  </code></pre>
  
  <p>Here nodes are differentiated using alias and not with node tag. As you can see top level node element1 has same node name "node" as element2. I want to parse this XML based on attribute alias.</p>
  
  <p>What should be the Linq-To-Xml code (using C#)to acheive this?</p>