xsl-list
[Top] [All Lists]

RE: [xsl] Group Techniques by xslt

2009-12-03 05:33:10
Hi Martin,
I have added new condition and no of errors has been reduced. But it is more
closer. 
         <xsl:choose>
           <xsl:when test="$level lt $max-level">
             <xsl:sequence select="mf:group(current-group() except
($current-head, $v1), $level + 1)"/>
           </xsl:when>
<!-- added new condition -->
           <xsl:when test="$level eq $max-level">
            <xsl:apply-templates select="current-group() except
$current-head"/>
           </xsl:when>
           <xsl:otherwise>
             <xsl:apply-templates select="current-group() except
$current-head"/>
           </xsl:otherwise>
         </xsl:choose>

Thanks
...JSR


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--