R
Remi COCULA
When using xsl:call-template it seems that we can't use a parameter as the
name of the template to call.
Example :
<xsl:template name="cadre">
<xslaram name="p_contenu"/>
<xsl:call-template name="{$p_contenu}"/>
</xsl:template>
It does'nt work : Xalan logs this error (sorry it's french)
2003-12-22 03:16:28 - path="/gcdev" :gc:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Valeur incorrecte : {$p_contenu}
utilisée pour l'attribut QNAME : name
Any suggestion to fix this problem?
name of the template to call.
Example :
<xsl:template name="cadre">
<xslaram name="p_contenu"/>
<xsl:call-template name="{$p_contenu}"/>
</xsl:template>
It does'nt work : Xalan logs this error (sorry it's french)
2003-12-22 03:16:28 - path="/gcdev" :gc:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Valeur incorrecte : {$p_contenu}
utilisée pour l'attribut QNAME : name
Any suggestion to fix this problem?