title: Convert Text file to XML file
body: <p>I want to parse teh content of the text file which is in the below format</p>
  
  <p>example of  text file data</p>
  
  <pre><code>key1:value1
  key2:value2
  key3:value3
  </code></pre>
  
  <p>Now I want the above content to be parsed with the key-value format and make an xml file from this text file.</p>
  
  <p>example of xml file data (I want this type of format)</p>
  
  <pre><code>&lt;string name="key1"&gt;value1&lt;/string&gt;
  &lt;string name="key2"&gt;vaue2&lt;/string&gt;
  &lt;string name="key3"&gt;value3&lt;/string&gt;
  </code></pre>
  
  <p>This should either be done thorough a script file in windows or command prompt.</p>
  
  <p>could you please ant one have a better idea how to solve on this issue or could you please provide me a example code or link of tutorials?</p>