See the XSLT spec. There are a few very simple rules for what happens when
two templates could match the same node, but in my opinion they aren't
enough to yield really predictble results in most cases. The right answer
involves explicitly assigning priorities to the templates to control how
ties are broken.


Reply via email to