forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/forrest-site/xslt/html document2html.xsl
Date Mon, 03 Jun 2002 03:22:17 GMT
crossley    2002/06/02 20:22:17

  Modified:    src/resources/skins/bert/xslt/html site2xhtml.xsl
               src/resources/skins/forrest-site/xslt/html document2html.xsl
  Log:
  Restored the behaviour of jump and fork. This was lost somewhere between
  the original Cocoon stylesheets and Forrest.
  
  Revision  Changes    Path
  1.4       +0 -3      xml-forrest/src/resources/skins/bert/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/bert/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- site2xhtml.xsl	1 Jun 2002 05:02:46 -0000	1.3
  +++ site2xhtml.xsl	3 Jun 2002 03:22:17 -0000	1.4
  @@ -1,10 +1,7 @@
   <?xml version="1.0"?>
   <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
  -  <xsl:output doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
  -
     <xsl:template match="site">
  -    <xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">]]></xsl:text>
       <html>
         <head>
           <title><xsl:value-of select="div[@class='content']/h2"/></title>
  
  
  
  1.2       +8 -9      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- document2html.xsl	29 May 2002 16:44:55 -0000	1.1
  +++ document2html.xsl	3 Jun 2002 03:22:17 -0000	1.2
  @@ -190,23 +190,22 @@
         </div>
      </xsl:template>
   
  -<!--
  -
  -
  -  <xsl:template match="link | jump | fork">
  -
  -
  --->
  -   <xsl:template match="link | fork">
  +   <xsl:template match="link">
         <a href="{@href}">
            <xsl:apply-templates />
         </a>
      </xsl:template>
   
      <xsl:template match="jump">
  -      <a href="#{@href}">
  +      <a href="{@href}" target="_top">
            <xsl:apply-templates />
         </a>
  +   </xsl:template>
  +
  +   <xsl:template match="fork">
  +     <a href="{@href}" target="_blank">
  +        <xsl:apply-templates/>
  +     </a>
      </xsl:template>
   
      <xsl:template match="source">
  
  
  

Mime
View raw message