forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From che...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/common/xslt/html document2html.xsl
Date Tue, 29 Jul 2003 22:00:18 GMT
cheche      2003/07/29 15:00:17

  Modified:    src/resources/skins/common/xslt/html document2html.xsl
  Log:
  Fix <abstract> element was ignored.
  
  Submitted by:	Eirik Bjørsnøs bjorsnos@stud.ntnu.no
  
  Revision  Changes    Path
  1.20      +8 -1      xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- document2html.xsl	19 Jun 2003 10:51:49 -0000	1.19
  +++ document2html.xsl	29 Jul 2003 22:00:17 -0000	1.20
  @@ -85,6 +85,7 @@
             </font>
           </p>
         </xsl:if>
  +      <xsl:apply-templates select="header/abstract"/>
         <xsl:apply-templates select="body"/>
       </div>
     </xsl:template>
  @@ -339,6 +340,12 @@
         </xsl:attribute>
         <xsl:value-of select="title"/>
       </a>
  +  </xsl:template>
  +  
  +  <xsl:template match="abstract">
  +    <p>
  +      <xsl:apply-templates/>
  +    </p>
     </xsl:template>
   
     <xsl:template match="node()|@*" priority="-1">
  
  
  

Mime
View raw message