fix magic linking form tt2html to xml