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:apply-templates/></tr> </xsl:for-each>
Named Templates
<xsl:param>
<xsl:param name="type">warning</xsl:param>
<xsl:call-template>
<xsl:call-template name="admonition"/>
<xsl:with-param>
<xsl:call-template name="admonition"> <xsl:with-param name="type">caution</xsl:with-param> </xsl:call-template>
Copyright © 1999, 2000 by Arbortext, Inc. (http://www.arbortext.com/), Sun Microsystems, Inc. (http://www.sun.com/)