vmassol     01/04/29 11:02:11

  Modified:    cactus/docs/framework/skins/jakarta.apache.org/stylesheets
                        document2html.xsl
  Log:
  bugfix introduced when added the nowrap attribute to the td tag
  
  Revision  Changes    Path
  1.5       +16 -5     
jakarta-commons/cactus/docs/framework/skins/jakarta.apache.org/stylesheets/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/cactus/docs/framework/skins/jakarta.apache.org/stylesheets/document2html.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- document2html.xsl 2001/04/29 16:26:09     1.4
  +++ document2html.xsl 2001/04/29 18:02:10     1.5
  @@ -382,11 +382,22 @@
     </xsl:template>
   
     <xsl:template match="td">
  -    <td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" 
nowrap="{@nowrap}" valign="top" align="left">
  -      <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  -        <xsl:apply-templates/>&#160;
  -      </font>
  -    </td>
  +    <xsl:choose>
  +      <xsl:when test="@nowrap">
  +        <td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" 
nowrap="true" valign="top" align="left">
  +          <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +            <xsl:apply-templates/>&#160;
  +          </font>
  +        </td>
  +      </xsl:when>
  +      <xsl:otherwise>
  +        <td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" 
valign="top" align="left">
  +          <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +            <xsl:apply-templates/>&#160;
  +          </font>
  +        </td>
  +      </xsl:otherwise>
  +    </xsl:choose>
     </xsl:template>
   
     <xsl:template match="tn">
  
  
  

Reply via email to