added .gitignore
modify algoritm for convertRecordToXML