×
XSLT 教程XSL 语言XSLT 简介XSLT 浏览器XSLT 转换XSLT <template>XSLT <value-of>XSLT <for-each>XSLT <sort>XSLT <if>XSLT <choose>XSLT ApplyXSLT 客户端XSLT 服务器端XSLT 编辑 XMLXML 编辑器XSLT 总结XSLT 实例XSLT 元素XSLT 函数

XSLT <xsl:call-template> 元素


XSLT 元素参考手册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 元素参考手册


分类导航

关注微信下载离线手册

bootwiki移动版 bootwiki
(群号:472910771)