
here is video on how to generate xml file from text:
If you want to automate conversion or avoid user Interface (UI) and run "Text To Xml" application from command line - here is an example of how to do it:
"C:\Program Files (x86)\WhiterockSoftware\TextToXml\TextToXml.exe" inputfile.txt outputfile.xml

here is video on how to convert text file To json structure
If you want to automate conversion or avoid user Interface (UI) and run "Text To Json" application from command line - here is an example of how to do it:
"C:\Program Files (x86)\WhiterockSoftware\TextToJson\TextToJson.exe" inputfile.txt outputfile.json