This processes the file in place 

python ProcFix.py CodesAppendixG.txt [xml file]
