How to use an expression in xsl:include elment in an XSLT processing
- by addinquy
I need to include an XSLT that exists in 2 variants, depending on a param value.
However, it's seems to be not possible to write an expression in the href attribute of the xsl:include element. My last trial looks like that:
< xsl:param name="ml-fmt" select="mono"/
...
< xsl:include href="{$ml-fmt}/format.xsl"/
The XSLT engine used is Saxon 9.2.0.6
Have anybody an idea about how I could do something close to that ?