Code to process phrase and xml files
Notes