- ·上一篇文章:XSLT <xsl:attribute-set> 元素
- ·下一篇文章:XSLT <xsl:comment> 元素
XSLT <xsl:call-template> 元素
由 gelin678 创建,Carrie 最后一次修改 2015-09-28 XSLT <xsl:call-template> 元素XSLT <xsl:call-template> 元素根据名称调用模板。 完整的 XSLT 元素参考手册 定义和用法 <xsl:call-template> 元素可调用一个指定的模板。 语法 <xsl:call-template name="templatename"> <!-- Content:xsl:with-param* --> </xsl:call-template> 属性 属性 值 描述 name templatename 必需。规定被调用的模板名称。 实例 1 当处理程序找到一个 car 元素时,调用名为 "description" 的模板: <xsl:template match="car"> <xsl:call-template name="description"/> </xsl:template> 完整的 XSLT 元素参考手册
XSLT <xsl:call-template> 元素