title: replace XML tags value in shell script
body: <p>Hi I am a xml file like this.</p>
  
  <pre><code>  &lt;parameter name="END_DATE"&gt;20181031&lt;/parameter&gt;
  </code></pre>
  
  <p>I want to replace this tags value to some other value I tried like this.</p>
  
  <pre><code>dt=$(awk -F '[&lt;&gt;]' '/_DATE/{print $3}' test.xml)
  </code></pre>
  
  <p>I extracted the tags value. </p>
  
  <p>I have another variable value like this.</p>
  
  <pre><code>newdt=20181108
  </code></pre>
  
  <p>Now I need to replace this value to the extracted value.</p>
  
  <p>Any help would be appreciated.</p>