title: Changing the value of the XML element
body: <p>I am calling a third party API from the Rest AP I am creating. The third party API always returns in XML and it looks like</p>
  
  <pre><code>  &lt;prj:prj uri="https://bh.org/api/v2/prj/V51" lid="V51" xmlns:udf="http://ge.com/ri/userdefined" xmlns:ri="http://ge.com/ri" xmlns:file="http://ge.com/ri/file" xmlns:prj="http://ge.com/ri/prj"&gt;
    &lt;name&gt;fgfgfg&lt;/name&gt;
    &lt;res uri="https://bh.org/api/v2/res/19"/&gt;
    &lt;udf:type name="cis"/&gt;
    &lt;udf:field type="String" name="ST"&gt;Cli&lt;/udf:field&gt;
    &lt;udf:field type="String" name="CPN"&gt;TestName&lt;/udf:field&gt;
    &lt;udf:field type="Numeric" name="No"&gt;1&lt;/udf:field&gt;
    &lt;udf:field type="String" name="CA"&gt;Do not know&lt;/udf:field&gt;
    &lt;udf:field type="String" name="Cto"&gt;Me&lt;/udf:field&gt;
    &lt;udf:field type="String" name="Site"&gt;GT&lt;/udf:field&gt;
    &lt;/prj:prj&gt;
  </code></pre>
  
  <p>I should change the <code>name</code> from <code>fgfgfg</code> to <code>ABCD</code>. I am trying to get the response in the XDocument </p>
  
  <pre><code>  var new_Name = "ABCD";
    string responseString = response_LabURL.Content.ReadAsStringAsync().Result;
    XDocument new_doc = XDocument.Parse(responseString_LabURL);
  </code></pre>
  
  <p>Now here I am not sure how to change the</p>
  
  <pre><code>&lt;name&gt;fgfgfg&lt;/name&gt; 
  </code></pre>
  
  <p>into</p>
  
  <pre><code> &lt;name&gt;ABCD&lt;/name&gt;
  </code></pre>