XSLT <xsl:call-template> ສັບສິນ
ການສະເພາະ ແລະ ການນໍາໃຊ້
ສັບສິນ <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>