XSLT <xsl:templat-panggilan>
Referensi Elemen XSLT Lengkap
Definisi dan Penggunaan
Elemen <xsl:call-template> memanggil template bernama.
Sintaksis
<xsl:call-template name="templatename">
<!-- Content:xsl:with-param* -->
</xsl:call-template>
Atribut
Attribute | Value | Description |
---|---|---|
name | templatename | Required. Specifies the name of the template to be called |
Contoh 1
Panggil template bernama "deskripsi" ketika prosesor menemukan elemen mobil:
<xsl:template match="car">
<xsl:call-template name="description"/>
</xsl:template>
Referensi Elemen XSLT Lengkap