The other model for applying style is to select each action procedurally. A series of templates is created, such that each template explicitly selects and processes the necessary elements.
<xsl:for-each>
<xsl:for-each select="row"> <tr> <xsl:for-each select="entry"> <td><xsl:value-of select="."/></td> </tr> </xsl:for-each>
<xsl:template name="...">
<xsl:template name="admonition"> <xsl:param name="type">warning</xsl:param> ... </xsl:template>
<xsl:call-template>
<xsl:call-template name="admonition"> <xsl:with-param name="type">caution</xsl:with-param> </xsl:call-template>