Missing ../ in path when displaying xml xref

fixes #806