Here is the generalised approach :
- Write a gel script to read the file. Flat files can be read easily with file:readFile . This reads the file line by line
- Use the data to form your XML
- XOG in that XML
If you dont want to go this way and it is a one time load, then you can create XML Maps in Excel to convert your flat file XOG ready input XML.