Subject:Recursion Author:Tony Lavinio Date:22 Aug 2005 07:30 AM
Instead of using xsl:for-each, use a template block
like <xsl:template match="li">
and use <xsl:apply-template select="li"/> both to call the first
outermost instance of the template, and then again within the
template block to recurse.