Name
<xsl:template>
Synopsis
<xsl:template match="
pattern
" >...</xsl:template>
Description
The XSL template directive localizes various elements from which
stylesheet rules can be applied. Each element is targeted with the
match
attribute. Formatting directives are located inside the
opening and closing <xsl:template>
tags.
<xsl:template match="para" > <fo:block font-size="12pt"> <xsl:apply-templates/> </fo:block> </xsl:template>
See the earlier Section 10.4.3 for more information on matching elements.
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.