forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/forrest-site/xslt/html document2html.xsl
Date Sun, 11 Aug 2002 14:19:29 GMT
nicolaken    2002/08/11 07:19:29

  Modified:    src/resources/skins/forrest-site/xslt/html document2html.xsl
  Log:
      <action dev="NKB" type="add" context="docs">
       Added to the &quot;forrest-site&quot; skin the ability to split source code
       larger than 80 chars in two or more lines.
      </action>
  
  Revision  Changes    Path
  1.7       +7 -1      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- document2html.xsl	30 Jul 2002 01:29:23 -0000	1.6
  +++ document2html.xsl	11 Aug 2002 14:19:29 -0000	1.7
  @@ -1,5 +1,8 @@
   <?xml version="1.0"?>
   <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  +
  +  <xsl:include href = "split.xsl"/>
  +
     <xsl:param name="isfaq"/>
     <xsl:param name="resource"/>
     <xsl:template match="document">
  @@ -127,7 +130,10 @@
     </xsl:template>
     <xsl:template match="source">
       <pre class="code">
  -      <xsl:apply-templates/>
  +    <xsl:call-template name="format">
  +    <xsl:with-param select="." name="txt" /> 
  +     <xsl:with-param name="width">80</xsl:with-param> 
  +     </xsl:call-template>
       </pre>
     </xsl:template>
     <xsl:template match="anchor">
  
  
  

Mime
View raw message