title: How to convert folder contains text files into xml file for haar training
body: <p>I'm using opencv_haartrainaing to train my cascade classifier, and i've a folder containing sub-folders with text files instead of the .xml file as shown here.... </p>
  
  <p><img src="https://i.stack.imgur.com/fjqh4.png" alt="enter image description here"></p>
  
  <p>How can i get the final .xml file?.</p>