それが可能かどうかはわかりませんが、どうすればいいのでしょうか...
次のXSLがあるとしましょう。
<xsl:template name="foo">
Bla bla bla
</xsl:template>
...
<xsl:template name="bar">
Bla bla bla
</xsl:template>
...
<xsl:template match="/">
<xsl:if test="$templateName='foo'">
<xsl:call-template name="foo"/>
</xsl:if>
<xsl:if test="$templateName='bar'">
<xsl:call-template name="bar"/>
</xsl:if>
</xsl:template>
XSLを変更して次のようなものを読み取ることは可能ですか...
<xsl:template match="/">
<xsl:call-template name="$templateName"/>
</xsl:template>