XSLT <xsl:call-template> အရာ

အသုံးပြုခြင်း နှင့် ပတ်သတ်

xsl:call-template အရာ သည် အသိအမှတ် ပြောင်းလဲထားသော စာအုပ် ကို ခေါ်ဆိုပါသည်。

အက္ခရာ

<xsl:call-template name="templatename">
  <!-- Content:xsl:with-param* -->
</xsl:call-template>

အခြေခံ

အခြေခံ အချက် ဖော်ပြ
name templatename ကိုယ်တိုင်အပ်နှင်း၍ ခေါ်ဆိုထားသော စာအုပ် အမည်ကို သတ်မှတ်ပါ

အကျိုးသက်

ဌာန 1

ကြွေးမြီ ဖွဲ့စည်းပုံ ကို ရှာဖွေရာတွင် ဘရောက်တာ ကို ခေါ်ဆိုထားသော "description" စာအုပ် ကို ခေါ်ဆိုပါသည်:

<xsl:template match="car">
  <xsl:call-template name="description"/>
</xsl:template>