title: Replace Tag of and xml file after pattern matching using shell
body: <p>I have an input xml file like below</p>
  <p>INPUT FILE</p>
  <pre><code>&lt;ReconSummary&gt;
  &lt;entryName&gt;Total Deep&lt;/entryName&gt;
  &lt;Code&gt;777&lt;/Code&gt;
  &lt;License&gt;L&lt;/License&gt;
  &lt;Tran&gt;H20&lt;/Tran&gt;
  &lt;job&gt;1234&lt;/job&gt;
  &lt;/ReconSummary&gt;
  
  
  &lt;ReconSummary&gt;
  &lt;entryName&gt;Total Saurav&lt;/entryName&gt;
  &lt;Code&gt;666&lt;/Code&gt;
  &lt;License&gt;L&lt;/License&gt;
  &lt;Tran&gt;H20&lt;/Tran&gt;
  &lt;job&gt;1234&lt;/job&gt;
  &lt;/ReconSummary&gt;
  
  
  &lt;ReconSummary&gt;
  &lt;entryName&gt;Total Ankur&lt;/entryName&gt;
  &lt;Code&gt;555&lt;/Code&gt;
  &lt;License&gt;L&lt;/License&gt;
  &lt;Tran&gt;H20&lt;/Tran&gt;
  &lt;job&gt;1234&lt;/job&gt;
  &lt;/ReconSummary&gt;
  </code></pre>
  <p>I want to comment the tag  if i find the pattern &quot;Total Deep&quot; so that the output file looks like below</p>
  <p>OUTPUT</p>
  <pre><code>&lt;!--&lt;ReconSummary&gt;
  &lt;entryName&gt;Total Deep&lt;/entryName&gt;
  &lt;Code&gt;777&lt;/Code&gt;
  &lt;License&gt;L&lt;/License&gt;
  &lt;Tran&gt;H20&lt;/Tran&gt;
  &lt;job&gt;1234&lt;/job&gt;
  &lt;/ReconSummary&gt;--&gt;
  
  
  &lt;ReconSummary&gt;
  &lt;entryName&gt;Total Saurav&lt;/entryName&gt;
  &lt;Code&gt;666&lt;/Code&gt;
  &lt;License&gt;L&lt;/License&gt;
  &lt;Tran&gt;H20&lt;/Tran&gt;
  &lt;job&gt;1234&lt;/job&gt;
  &lt;/ReconSummary&gt;
  
  
  &lt;ReconSummary&gt;
  &lt;entryName&gt;Total Ankur&lt;/entryName&gt;
  &lt;Code&gt;555&lt;/Code&gt;
  &lt;License&gt;L&lt;/License&gt;
  &lt;Tran&gt;H20&lt;/Tran&gt;
  &lt;job&gt;1234&lt;/job&gt;
  &lt;/ReconSummary&gt;
  </code></pre>
  <p>Since i am new to shell scripting, can anyone help me out as to how i can apply this with the help of shell scripting?</p>