Changeset 6689


Ignore:
Timestamp:
2004-02-02T13:51:27+13:00 (20 years ago)
Author:
nzdl
Message:

only recurse into the children of a classifier if it actually has children - so no empty table rows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/default/transform/classifiertools.xsl

    r5687 r6689  
    6666      <xsl:for-each select='classifierNode|documentNode'>
    6767    <tr valign='top'><xsl:apply-templates select='.'><xsl:with-param name='collName' select='$collName'/><xsl:with-param name='serviceName' select='$serviceName'/></xsl:apply-templates></tr>
    68     <xsl:if test='name()="classifierNode"'>
     68    <xsl:if test='name()="classifierNode" and (child::classifierNode or child::documentNode)'>
    6969      <!--recurse into the children-->
    7070      <tr valign='top'><td><xsl:text> </xsl:text></td><xsl:apply-templates select='.' mode='process-all-children'><xsl:with-param name='collName' select='$collName'/><xsl:with-param name='serviceName' select='$serviceName'/></xsl:apply-templates></tr>
Note: See TracChangeset for help on using the changeset viewer.