July 2001
Intermediate to advanced
640 pages
12h 49m
English

This chapter looks at some powerful features of XSLT, known as templates, stylesheet parameters, and variables. These topics are all related— you use parameters with named templates, and variables and parameters are practically the same, except for the way they’re created.
When you give a template a name, you can specifically call it, using the <xsl:call-template> element. A template is applied when it is called, so rather than rely on the default processing of the stylesheet by the XSLT processor, you can determine when a template is applied, as well as which one is applied. For example, ...