I don't really like the way you handle projects with multiple files using hidden xml files. I think it would be better to add at the beginng (or end) of each tex file a "special comment" who tells to gedit-latex if and who is the master file. For example:
% master-file: mythesis.tex
Log in to post a comment.