huber       2002/06/30 03:50:16

  Modified:    src/documentation/stylesheets document2html.xsl
  Log:
  Fix handling of dl/dt/dd elements, use correct font for dt, and dd
  
  Revision  Changes    Path
  1.5       +28 -11    xml-cocoon2/src/documentation/stylesheets/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/documentation/stylesheets/document2html.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- document2html.xsl 6 Mar 2002 17:24:47 -0000       1.4
  +++ document2html.xsl 30 Jun 2002 10:50:16 -0000      1.5
  @@ -139,7 +139,7 @@
        <!-- ====================================================================== -->
        <!-- list section -->
        <!-- ====================================================================== -->
  -     <xsl:template match="ul|ol|dl">
  +     <xsl:template match="ul|ol">
                <blockquote>
                        <xsl:copy>
                                <xsl:apply-templates/>
  @@ -150,21 +150,38 @@
                <xsl:copy><font face="verdana, helvetica, sans serif">
                        <xsl:apply-templates/>
                </font>
  -</xsl:copy>  </xsl:template>
  +                </xsl:copy>
  +        </xsl:template>
        <xsl:template match="sl">
                <ul>
                        <xsl:apply-templates/>
                </ul>
        </xsl:template>
  -     <xsl:template match="dt">
  -             <li><font face="verdana, helvetica, sans serif">
  -                     <strong>
  -                             <xsl:value-of select="."/>
  -                     </strong>
  -                     <xsl:text> - </xsl:text>
  -                     <xsl:apply-templates select="dd"/></font>
  -             </li>
  -     </xsl:template>
  +        
  +        <xsl:template match="dl">
  +             <blockquote>
  +             <font face="verdana, helvetica, sans serif">
  +                <dl>
  +                    <xsl:apply-templates/>
  +                </dl>
  +                </font>
  +                </blockquote>
  +        </xsl:template>
  +        
  +        <xsl:template match="dt">
  +                <dt>
  +             <strong>
  +                     <xsl:apply-templates/>
  +             </strong>
  +             <xsl:text> - </xsl:text>
  +                </dt>
  +        </xsl:template>
  +        <xsl:template match="dd">
  +                <dd>
  +                        <xsl:apply-templates/>
  +                </dd>
  +        </xsl:template>
  +        
        <!-- ====================================================================== -->
        <!-- table section -->
        <!-- ====================================================================== -->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to