fixing Trie so it picks up aliases in self closing XML tags