How to Get Max Value from XML File using LINQ

Below is the sample XML file code.
  1. <?xml version="1.0" encoding="utf-8"?>  
  2. <Employees>  
  3.   <Employee Id="2" Name="Ram" />  
  4.   <Employee Id="5" Name="Rahul" />  
  5.   <Employee Id="8" Name="Manimaran" />  
  6.   <Employee Id="9" name="John" />  
  7. </Employees>  
 And now the code to get max value.
  1. XElement element = XElement.Load("../../Employees.xml");  
  2. int max =   
  3. element.Elements("Employee").Max(l => int.Parse(l.Attribute("Id").Value));