title: How to read XML and write to text file using shell script?
body: <p>How to read XML tags and it's value in Shell script?
  I searched and found that it is possible only when we know the tag name.</p>
  
  <p>But, I want a script which reads all the tags in XML(repeated tags), which contains values. 
  In my XML, tags may change. So, I want script which can work for different XMLs.</p>
  
  <pre><code>&lt;Data&gt;
      &lt;Employees&gt;
  
          &lt;Employee location = "Paris"&gt;
              &lt;Name&gt; Andy &lt;/Name&gt;
              &lt;ID&gt; 101 &lt;/ID&gt;
          &lt;/Employee&gt;
  
          &lt;Employee location = "Germany"&gt;
              &lt;Name&gt; Batman &lt;/Name&gt;
              &lt;ID&gt; 202 &lt;/ID&gt;
          &lt;/Employee&gt;
  
      &lt;/Employees&gt;
  &lt;/Data&gt;
  </code></pre>
  
  <p>I want to read XML and write to text file as below:</p>
  
  <pre><code>Name : Alex
  ID: 101
  Location: Paris
  
  Name : Batman
  ID: 202
  Location: Germany
  </code></pre>