XSLT 1.0 Default Priorities Summary

This is an explicit summary of the default priorities assumed upon template matching according to the XSLT 1.0 specification.

Priority 0.0
@name attribute::name
name child::name
processing-instruction(name) child::processing-instruction(name)
Priority -0.25
@namespace:* attribute::namespace:*
namespace:* child::namespace:*
Priority -0.5
@* attribute::*
* child::*
comment() child::comment()
text() child::text()
node() child::node()
Priority 0.5: everything else