You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/02/01 02:19:20 UTC

cvs commit: xml-forrest/src/resources/skins/template/xslt/html book2menu.xsl document2html.xsl site2xhtml.xsl tab2menu.xsl

jefft       2003/01/31 17:19:19

  Added:       src/resources/skins/template/css README.txt
               src/resources/skins/template/images README.txt
               src/resources/skins/template/scripts README.txt
               src/resources/skins/template/xslt/fo document2fo.xsl
               src/resources/skins/template/xslt/html book2menu.xsl
                        document2html.xsl site2xhtml.xsl tab2menu.xsl
  Log:
  Bare minimum skin that just imports the common XSLT templates
  
  Revision  Changes    Path
  1.1                  xml-forrest/src/resources/skins/template/css/README.txt
  
  Index: README.txt
  ===================================================================
  CSS files traditionally go here.  They are referenced in site2xhtml.xsl with
  (for example):
  
  <link rel="stylesheet" href="{$root}skin/page.css" type="text/css"/>
  
  
  
  1.1                  xml-forrest/src/resources/skins/template/images/README.txt
  
  Index: README.txt
  ===================================================================
  Image files traditionally go here.  They are referenced in site2xhtml.xsl with
  (for example):
  
  <img src="{$skin-img-dir}/search-left.gif">
  
  
  
  1.1                  xml-forrest/src/resources/skins/template/scripts/README.txt
  
  Index: README.txt
  ===================================================================
  Javascript files traditionally go here.  They are referenced in site2xhtml.xsl
  with (for example):
  
  <script type="text/javascript" language="JavaScript" src="{$root}skin/breadcrumbs.js"/>
  
  
  
  1.1                  xml-forrest/src/resources/skins/template/xslt/fo/document2fo.xsl
  
  Index: document2fo.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  xmlns:fo="http://www.w3.org/1999/XSL/Format"
                  version="1.0">
  
  <xsl:import href="../../../common/xslt/fo/document2fo.xsl"/>
  
  </xsl:stylesheet>
  
  
  
  
  
  1.1                  xml-forrest/src/resources/skins/template/xslt/html/book2menu.xsl
  
  Index: book2menu.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!--
  book2menu.xsl generates the HTML menu.  See the imported book2menu.xsl for
  details.
  -->
  
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/book2menu.xsl"/>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/skins/template/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!--
  This stylesheet contains templates for converting documentv11 to HTML.  See the
  imported document2html.xsl for details.
  -->
  
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/document2html.xsl"/>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/skins/template/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!--
  site2xhtml.xsl is the final stage in HTML page production.  It merges HTML from
  document2html.xsl, tab2menu.xsl and book2menu.xsl, and adds the site header,
  footer, searchbar, css etc.  As input, it takes XML of the form:
  
  <site>
    <div class="menu">
      ...
    </div>
    <div class="tab">
      ...
    </div>
    <div class="content">
      ...
    </div>
  </site>
  
  $Id: site2xhtml.xsl,v 1.1 2003/02/01 01:19:19 jefft Exp $
  -->
  
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/site2xhtml.xsl"/>
   
   <!-- Override this template to define a new skin.  The contents of the
   overridden common site2xhtml file can be used as a template 
  
    <xsl:template match="site">
    ...
    </xsl:template>
    -->
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/skins/template/xslt/html/tab2menu.xsl
  
  Index: tab2menu.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!--
  This stylesheet generates 'tabs' at the top left of the screen.
  See the imported tab2menu.xsl for details.
  -->
  
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/tab2menu.xsl"/>
  
  </xsl:stylesheet>