forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/forrest-site/xslt/html document2html.xsl
Date Mon, 10 Jun 2002 12:25:59 GMT
stevenn     2002/06/10 05:25:58

  Modified:    src/resources/skins/bert/xslt/html document2html.xsl
               src/resources/skins/forrest-site/xslt/html document2html.xsl
  Log:
  fixed a bug with title element processing in sections
  
  Revision  Changes    Path
  1.5       +2 -2      xml-forrest/src/resources/skins/bert/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/bert/xslt/html/document2html.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- document2html.xsl	6 Jun 2002 22:24:53 -0000	1.4
  +++ document2html.xsl	10 Jun 2002 12:25:58 -0000	1.5
  @@ -68,7 +68,7 @@
       <h3>
         <xsl:value-of select="title"/>
       </h3>
  -    <xsl:apply-templates/>
  +    <xsl:apply-templates select="*[not(self::title)]"/>
     </xsl:template>
     <xsl:template match="section/section">
       <a name="{generate-id()}"/>
  @@ -78,7 +78,7 @@
       <h4>
         <xsl:value-of select="title"/>
       </h4>
  -    <xsl:apply-templates/>
  +    <xsl:apply-templates select="*[not(self::title)]"/>
     </xsl:template>
     <xsl:template match="note | warning | fixme">
       <div class="frame {local-name()}">
  
  
  
  1.4       +3 -5      xml-forrest/src/resources/skins/forrest-site/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/forrest-site/xslt/html/document2html.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- document2html.xsl	6 Jun 2002 14:45:44 -0000	1.3
  +++ document2html.xsl	10 Jun 2002 12:25:58 -0000	1.4
  @@ -78,11 +78,9 @@
            <a name="{@id}" />
         </xsl:if>
   
  -      <h3>
  -         <xsl:value-of select="title" />
  -      </h3>
  +      <h3><xsl:value-of select="title"/></h3>
   
  -      <xsl:apply-templates />
  +      <xsl:apply-templates select="*[not(self::title)]"/>
      </xsl:template>
   
      <xsl:template match="section/section">
  @@ -96,7 +94,7 @@
            <xsl:value-of select="title" />
         </h4>
   
  -      <xsl:apply-templates />
  +      <xsl:apply-templates select="*[not(self::title)]"/>
      </xsl:template>
   
      <xsl:template match="note | warning | fixme">
  
  
  

Mime
View raw message