title: Change Xml value with XElement (with specified Attributes)
body: <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Instances&gt;
    &lt;InstanceInfos Name="i-82c61ac1"&gt;
      &lt;MaxTime&gt;38&lt;/MaxTime&gt;
    &lt;/InstanceInfos&gt;
    &lt;InstanceInfos Name="i-83c61ac0"&gt;
      &lt;MaxTime&gt;447&lt;/MaxTime&gt;
    &lt;/InstanceInfos&gt;
  &lt;/Instances&gt;
  </code></pre>
  
  <p>Hello,
  I am looking a way to edit a specified value with Xelement by specify the attribute (ex: i-82c61ac1).</p>
  
  <p>(Actually i know how to load xml file and add Elements, but i am stuck for editing value specified by Attributs.)</p>
  
  <p>for exemple i want to edit <code>&lt;MaxTime&gt;38&lt;/MaxTime&gt;</code> but only under <code>&lt;InstanceInfos Name="i-82c61ac1"&gt;</code></p>
  
  <p>Thank for your help,</p>
  
  <p>Best regards.</p>