What is the difference between Call template and Name template in xslt?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hari Marimuthu
    New Member
    • Nov 2010
    • 1

    What is the difference between Call template and Name template in xslt?

    Xslt:
    What is the difference between Call template and Name template in xslt.


    Thanks,
    [B]HariB].
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Call template calls a specific named template.

    There isn't really a specific name template action, except to put a name attribute on a template.

    Apply-templates implicitly calls templates based on the xpath and name of the node it is being called on.

    Comment

    Working...