I'm having problems with <xsl:include> and variables.
Including a template with a variable in the href-attribut doesn't work in
this case.
This cannot be done within a single XSLT transformation.
If you *really* need such a feature, modify the xslt tree before the start
of the transformation (e.g. using DOM and the selectNodes() and
setAttribute() methods) or even have a two-pass transformation in which the
first pass will produce the stylesheet to be used in the second pass.
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list