In the frame of the preparation of a DITA Open Toolkit course, I have to explain how template priority rules work in XSLT. Before preparing this course, I had a vague idea of how it worked. I knew how import precedence worked, but for templates located in the same file, I didn’t really know which @match
patterns had priority over others. I just fixed the conflicts when they popped up.