What are the differences between ‘call-template’ and ‘apply-templates’ in XSL?

<xsl:call-template> is a close equivalent to calling a function in a traditional programming language. You can define functions in XSLT, like this simple one that outputs a string. <xsl:template name=”dosomething”> <xsl:text>A function that does something</xsl:text> </xsl:template> This function can be called via <xsl:call-template name=”dosomething”>. <xsl:apply-templates> is a little different and in it is the real … Read more