Another tool for modular XSLT programming is the
xsl:include tag, which effectively
means “insert another stylesheet here.” There is
To include another stylesheet, give its URI as the value of this attribute.
There is a difference between importing and including a
xsl:import element lets you
use templates from another stylesheet, but those templates
have a lower priority and can be overridden by your templates.
If you use
though, any templates in the included stylesheet have the same
priority as your other templates; it's as if that stylesheet
were copied into the middle of your stylesheet.