•Flow control tags
–<xsl:for-each ... >
•Repeat the code within the tag for each item in the dataset
• <xsl:for-each select="//blockdata/block">
•   <xsl:call-template name="blocktable"/>
• </xsl:for-each>
–
–<xsl:if ... >
•Only use the code within the tag if the condition is true
• <xsl:if test="boolean(//itemsout)">
•   ...
• </xsl:if>
XSLT Editing Tips and Tricks
29