Fixes xml-qualids