You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2002/12/07 17:26:34 UTC

cvs commit: xml-forrest/src/resources/skins/krysalis-site/xslt/html book2menu.xsl changes2document.xsl changes2rss.xsl document2html.xsl site2xhtml.xsl tab2menu.xsl

nicolaken    2002/12/07 08:26:34

  Added:       src/resources/skins/krysalis-site/css page.css
               src/resources/skins/krysalis-site/images bottom-left.png
                        bottom-right.png chapter.gif chapter_open.gif
                        current.gif favicon.ico icon_doc_lrg.gif
                        icon_doc_sml.gif icon_error_lrg.gif
                        icon_error_sml.gif icon_folder_lrg.gif
                        icon_folder_sml.gif icon_help_sml.gif
                        icon_info_lrg.gif icon_info_sml.gif
                        icon_success_lrg.gif icon_success_sml.gif
                        icon_warning_lrg.gif icon_warning_sml.gif label.gif
                        page.gif printer.gif printer.png rss.png
                        singlepage.gif spacer.gif top-left.png
                        top-right.png
               src/resources/skins/krysalis-site/scripts
                        breadcrumbs-optimized.js breadcrumbs.js
               src/resources/skins/krysalis-site/xslt/fo document2fo.xsl
               src/resources/skins/krysalis-site/xslt/html book2menu.xsl
                        changes2document.xsl changes2rss.xsl
                        document2html.xsl site2xhtml.xsl tab2menu.xsl
  Log:
  Adding current krysalis-site skin, using common templates where possible.
  There is a changes2rss stylesheet that still needs sitemap changes to run.
  
  Revision  Changes    Path
  1.1                  xml-forrest/src/resources/skins/krysalis-site/css/page.css
  
  Index: page.css
  ===================================================================
  body {  background-color: #FFFFFF; margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif;  font-size : 80%;  }
  
  p {  background-color: #FFFFFF; margin: 10px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif;  font-size : 100%;  }
  
  a:link { color: #0F3660; }
  a:visited { color: #009999; }
  a:active { color: #000066; }
  a:hover { color: #000066; }
  
  .menu { background-color: #F7F7F7; margin: 0px; padding: 3px 3px 5px 3px;  font-size : 70%;  }
  .menu a:link { color: #000000;  text-decoration : none;  }
  .menu a:visited { color: #000000; text-decoration : none; }
  /*.menu a:active { font-weight: bold }*/
  .menu a:hover { color: #00AA77; text-decoration : none; }
  .menu ul { margin: 0px 0px 6px 8px; padding: 0px; }
  .menu li { margin: 0px 0px 2px 0px; padding: 0px; list-style-image: url('images/label.gif'); font-weight : bold; }
  .menu ul ul li .sel { list-style-image: url('images/current.gif');   font-style : plain;
                        background-color:#CFDCED; border-color: #a5b6c6; border-style: solid; border-width: 1px;}
  .menu ul ul li  { list-style-image: url('images/page.gif'); font-weight : normal; }
  
  table .title { background-color: #FFFFFF; width:100%; border: 0px; }
  .dida { font-size: 60%; }
  
  .pre { white-space: pre;}
  
  h1 { font-size : 140%; margin: 0px 0px 0px 0px; padding: 0px; }
  h2 { font-size : 130%; margin: 10px 0px 0px 0px; padding: 0px; font-weight : bold;}
  h3 { font-size : 110%; margin: 18px 0px 0px 0px; padding: 0px; font-weight : bold; }
  h4 { font-size : 100%; margin: 18px 0px 0px 0px; padding: 0px; font-weight : plain; text-align: left; }
  h5 { font-size : 90%; margin: 14px 0px 0px 0px; padding: 0px; font-weight : plain; text-align: left; }
  
  .content { padding: 5px 5px 5px 10px; font : small Verdana, Helvetica, sans-serif;  font-size : 80%;  }
  .content .ForrestTable { width: 100%; background-color: #7099C5; color: #ffffff; font-size : 100%;}
  .content .ForrestTable caption { text-align: left; color: black; font-weight: bold; }
  .content .ForrestTable th { text-align: center; }
  .content .ForrestTable td { background-color: #f0f0ff; color: black; }
  
  //.frame { margin: 5px 20px 5px 20px; font-size: 100%; }
  //.frame .content { margin: 2px; }
  
  
  .note, .warning, .fixme {
  	border-top: 3px solid #900;
  	border-bottom: 3px solid #900;
  	background-image: url(images/icon_error_lrg.gif);
  	background-repeat: no-repeat;
  	background-position: 0 1.33em;
  	margin: 1.33em 0;
  	padding: .33em 0 .67em 36px;
  	min-height: 32px;
  }
  
  
  .fixme {
  	background-image: url(images/icon_warning_lrg.gif);
  	border-color: #c60;
  }
  
  .note {
  	background-image: url(images/icon_info_lrg.gif);
  	border-color: #069;
  }
  
  
  //.note { border: solid 1px #7099C5; background-color: #f0f0ff; }
  //.note .label { background-color: #7099C5; color: #ffffff; }
  
  //.warning { border: solid 1px #D00000; background-color: #fff0f0; }
  //.warning .label { background-color: #D30000; color: #ffffff; }
  
  //.fixme { border: solid 1px #C6C600; background-color: #FAF9C3; }
  //.fixme .label { background-color: #C6C600; color: #ffffff; }
  
  .code { border-color: #CFDCED; border-style: solid; border-width: 1px; font-size : 120%;}
  .codefrag {	font-family: "Courier New", Courier, monospace; font-size : 120%;}
  
  .highlight { background-color: yellow; }
  
  .minitoc { list-style-image: url('images/current.gif'); font-weight : normal;}
  
  .search { font-size : 70%;  }
  .footnote { font-size : 70%;  }
  
  input { font-size : 70% }
  submit { font-size : 70%  }
  button { font-size : 70%  }
  textarea { font-size : 70% }
  
  .tab { font-size : 70%; border: 0 }
  .tab a:link {   text-decoration : none;  }
  .tab a:visited { text-decoration : none; }
  
  .trail { font-size: 70%; }
  .trail a:link {   text-decoration : none;  }
  .trail a:visited { text-decoration : none; }
  
  .dtdTag {    color: #990000; text-transform : uppercase;  font-style : normal;  font-size : 120%;  font-weight : bold; }
  
  .top-left {
  	background-color: #a5b6c6;
  	background-image: url(images/top-left.png);
  	background-repeat: no-repeat;
  	background-position: top left;
  	width : 5;
  	height : 5;
  }
  
  .top-right {
  	background-color: #a5b6c6;
  	background-image: url(images/top-right.png);
  	background-repeat: no-repeat;
  	background-position: top right;
  	width : 5;
  	height : 5;
  }
  
  .top-left-tab  {
  	background-color: #cedfef;
  	background-image: url(images/top-left.png);
  	background-repeat: no-repeat;
  	background-position: top left;
  	width : 5;
  	height : 5;
  }
  
  .top-right-tab {
  	background-color: #cedfef;
  	background-image: url(images/top-right.png);
  	background-repeat: no-repeat;
  	background-position: top right;
  	width : 5;
  	height : 5;
  }
  
  
  .bottom-left {
  	background-color: #a5b6c6;
  	background-image: url(images/bottom-left.png);
  	background-repeat: no-repeat;
  	background-position: bottom left;
  	width : 5;
  	height : 5;
  }
  
  .bottom-right {
  	background-color: #a5b6c6;
  	background-image: url(images/bottom-right.png);
  	background-repeat: no-repeat;
  	background-position: bottom right;
  	width : 5;
  	height : 5;
  }
  
  .bottom-left-thick {
  	background-color: #a5b6c6;
  	background-image: url(images/bottom-left.png);
  	background-repeat: no-repeat;
  	background-position: bottom left;
  	width : 5;
  	height : 9;
  }
  
  .bottom-right-thick {
  	background-color: #a5b6c6;
  	background-image: url(images/bottom-right.png);
  	background-repeat: no-repeat;
  	background-position: bottom right;
  	width : 5;
  	height : 9;
  }
  
  
  
  
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/bottom-left.png
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/bottom-right.png
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/chapter.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/chapter_open.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/current.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/favicon.ico
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_doc_lrg.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_doc_sml.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_error_lrg.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_error_sml.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_folder_lrg.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_folder_sml.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_help_sml.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_info_lrg.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_info_sml.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_success_lrg.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_success_sml.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_warning_lrg.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/icon_warning_sml.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/label.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/page.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/printer.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/printer.png
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/rss.png
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/singlepage.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/spacer.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/top-left.png
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/images/top-right.png
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/scripts/breadcrumbs-optimized.js
  
  Index: breadcrumbs-optimized.js
  ===================================================================
  var PREPREND_CRUMBS=new Array();
  PREPREND_CRUMBS.push(new Array("Apache","http://www.apache.org/"));
  PREPREND_CRUMBS.push(new Array("Jakarta","http://jakarta.apache.org/"));
  var DISPLAY_SEPARATOR=" &gt; ";
  var DISPLAY_PREPREND="";
  var DISPLAY_POSTPREND=":";
  var CSS_CLASS_CRUMB="breadcrumb";
  var CSS_CLASS_TRAIL="breadcrumbTrail";
  var CSS_CLASS_SEPARATOR="crumbSeparator";
  var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
  var PATH_SEPARATOR="/";
  
  function sc(s) {
  	var l=s.toLowerCase();
  	return l.substr(0,1).toUpperCase()+l.substr(1);
  }
  function getdirs() {
  	var t=document.location.pathname.split(PATH_SEPARATOR);
  	var lc=t[t.length-1];
  	for(var i=0;i < FILE_EXTENSIONS.length;i++)
  	{
  		if(lc.indexOf(FILE_EXTENSIONS[i]))
  			return t.slice(1,t.length-1); }
  	return t.slice(1,t.length);
  }
  function getcrumbs( d )
  {
  	var pre = "/";
  	var post = "/";
  	var c = new Array();
  	if( d != null )
  	{
  		for(var i=0;i < d.length;i++) {
  			pre+=d[i]+postfix;
  			c.push(new Array(d[i],pre)); }
  	}
  	if(PREPREND_CRUMBS.length > 0 )
  		return PREPREND_CRUMBS.concat( c );
  	return c;
  }
  function gettrail( c )
  {
  	var h=DISPLAY_PREPREND;
  	for(var i=0;i < c.length;i++)
  	{
  		h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>';
  		if(i!=(c.length-1))
  			h+=DISPLAY_SEPARATOR; }
  	return h+DISPLAY_POSTPREND;
  }
  
  function gettrailXHTML( c )
  {
  	var h='<span class="'+CSS_CLASS_TRAIL+'">'+DISPLAY_PREPREND;
  	for(var i=0;i < c.length;i++)
  	{
  		h+='<a href="'+c[i][1]+'" class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>';
  		if(i!=(c.length-1))
  			h+='<span class="'+CSS_CLASS_SEPARATOR+'">'+DISPLAY_SEPARATOR+'</span>'; }
  	return h+DISPLAY_POSTPREND+'</span>';
  }
  
  if(document.location.href.toLowerCase().indexOf("http://")==-1)
  	document.write(gettrail(getcrumbs()));
  else
  	document.write(gettrail(getcrumbs(getdirs())));
  
  
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/scripts/breadcrumbs.js
  
  Index: breadcrumbs.js
  ===================================================================
  /*
  
   ============================================================================
                     The Apache Software License, Version 1.1
   ============================================================================
  
   Copyright (C) @skinconfig.year@ The Apache Software Foundation. All rights reserved.
  
   Redistribution and use in source and binary forms, with or without modifica-
   tion, are permitted provided that the following conditions are met:
  
   1. Redistributions of  source code must  retain the above copyright  notice,
      this list of conditions and the following disclaimer.
  
   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
  
   3. The end-user documentation included with the redistribution, if any, must
      include  the following  acknowledgment:  "This product includes  software
      developed  by the  Apache Software Foundation  (http://www.apache.org/)."
      Alternately, this  acknowledgment may  appear in the software itself,  if
      and wherever such third-party acknowledgments normally appear.
  
   4. The names "Apache Forrest" and "Apache Software Foundation"
      must not be used to endorse or promote products derived from this  software
      without  prior written permission. For written permission, please contact
      apache@apache.org.
  
   5. Products  derived from this software may not  be called "Apache", nor may
      "Apache" appear  in their name,  without prior written permission  of the
      Apache Software Foundation.
  
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
   FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
   APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
   INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
   DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
   OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
   ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
   (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  
   This software  consists of voluntary contributions made  by many individuals
   on  behalf of the Apache Software  Foundation. For more  information on the
   Apache Software Foundation, please see <http://www.apache.org/>.
  
  */
  
  /**
   * This script, when included in a html file, builds a neat breadcrumb trail
   * based on its url. That is, if it doesn't contains bugs (I'm relatively
   * sure it does).
   *
   * Typical usage:
   * <script type="text/javascript" language="JavaScript" src="breadcrumbs.js"></script>
   *
   *@author     <a href="mailto:leosimons@apache.org">Leo Simons</a> (main author)
   *@author     <a href="mailto:nicolaken@apache.org">Nicola Ken Barozzi</a> (integration in skin)
   *@created    July 12, 2002
   *@version    1.0
   */
  
  /* ========================================================================
  	CONSTANTS
     ======================================================================== */
  
  /**
   * Two-dimensional array containing extra crumbs to place at the front of
   * the trail. Specify first the name of the crumb, then the URI that belongs
   * to it. You'll need to modify this for every domain or subdomain where
   * you use this script (you can leave it as an empty array if you wish)
   */
  var PREPREND_CRUMBS = new Array();
     if(!("@skinconfig.trail.link1.name@"=="")){
       PREPREND_CRUMBS.push( new Array( "@skinconfig.trail.link1.name@", "@skinconfig.trail.link1.href@" ) );
     }
     if(!("@skinconfig.trail.link2.name@"=="")){
       PREPREND_CRUMBS.push( new Array( "@skinconfig.trail.link2.name@", "@skinconfig.trail.link2.href@" ) );
     }
     if(!("@skinconfig.trail.link3.name@"=="")){
       PREPREND_CRUMBS.push( new Array( "@skinconfig.trail.link3.name@", "@skinconfig.trail.link3.href@" ) );
     }
  
  /**
   * String to include between crumbs:
   */
  var DISPLAY_SEPARATOR = " &gt; ";
  /**
   * String to include at the beginning of the trail
   */
  var DISPLAY_PREPREND = "";
  /**
   * String to include at the end of the trail
   */
  var DISPLAY_POSTPREND = "";
  
  /**
   * CSS Class to use for a single crumb:
   */
  var CSS_CLASS_CRUMB = "breadcrumb";
  
  /**
   * CSS Class to use for the complete trail:
   */
  var CSS_CLASS_TRAIL = "breadcrumbTrail";
  
  /**
   * CSS Class to use for crumb separator:
   */
  var CSS_CLASS_SEPARATOR = "crumbSeparator";
  
  /**
   * Array of strings containing common file extensions. We use this to
   * determine what part of the url to ignore (if it contains one of the
   * string specified here, we ignore it).
   */
  var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
  
  /**
   * String that separates parts of the breadcrumb trail from each other.
   * When this is no longer a slash, I'm sure I'll be old and grey.
   */
  var PATH_SEPARATOR = "/";
  
  /* ========================================================================
  	UTILITY FUNCTIONS
     ======================================================================== */
  /**
   * Capitalize first letter of the provided string and return the modified
   * string.
   */
  function sentenceCase( string )
  {        return string;
  	//var lower = string.toLowerCase();
  	//return lower.substr(0,1).toUpperCase() + lower.substr(1);
  }
  
  /**
   * Returns an array containing the names of all the directories in the
   * current document URL
   */
  function getDirectoriesInURL()
  {
  	var trail = document.location.pathname.split( PATH_SEPARATOR );
  
  	// check whether last section is a file or a directory
  	var lastcrumb = trail[trail.length-1];
  	for( var i = 0; i < FILE_EXTENSIONS.length; i++ )
  	{
  		if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) )
  		{
  			// it is, remove it and send results
  			return trail.slice( 1, trail.length-1 );
  		}
  	}
  
  	// it's not; send the trail unmodified
  	return trail.slice( 1, trail.length );
  }
  
  /* ========================================================================
  	BREADCRUMB FUNCTIONALITY
     ======================================================================== */
  /**
   * Return a two-dimensional array describing the breadcrumbs based on the
   * array of directories passed in.
   */
  function getBreadcrumbs( dirs )
  {
  	var prefix = "/";
  	var postfix = "/";
  
  	// the array we will return
  	var crumbs = new Array();
  
  	if( dirs != null )
  	{
  		for( var i = 0; i < dirs.length; i++ )
  		{
  			prefix += dirs[i] + postfix;
  			crumbs.push( new Array( dirs[i], prefix ) );
  		}
  	}
  
  	// preprend the PREPREND_CRUMBS
  	if(PREPREND_CRUMBS.length > 0 )
  	{
  		return PREPREND_CRUMBS.concat( crumbs );
  	}
  
  	return crumbs;
  }
  
  /**
   * Return a string containing a simple text breadcrumb trail based on the
   * two-dimensional array passed in.
   */
  function getCrumbTrail( crumbs )
  {
  	var xhtml = DISPLAY_PREPREND;
  
  	for( var i = 0; i < crumbs.length; i++ )
  	{
  		xhtml += '<a href="' + crumbs[i][1] + '" >';
  		xhtml += sentenceCase( crumbs[i][0] ) + '</a>';
  		if( i != (crumbs.length-1) )
  		{
  			xhtml += DISPLAY_SEPARATOR;
  		}
  	}
  
  	xhtml += DISPLAY_POSTPREND;
  
  	return xhtml;
  }
  
  /**
   * Return a string containing an XHTML breadcrumb trail based on the
   * two-dimensional array passed in.
   */
  function getCrumbTrailXHTML( crumbs )
  {
  	var xhtml = '<span class="' + CSS_CLASS_TRAIL  + '">';
  	xhtml += DISPLAY_PREPREND;
  
  	for( var i = 0; i < crumbs.length; i++ )
  	{
  		xhtml += '<a href="' + crumbs[i][1] + '" class="' + CSS_CLASS_CRUMB + '">';
  		xhtml += sentenceCase( crumbs[i][0] ) + '</a>';
  		if( i != (crumbs.length-1) )
  		{
  			xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>';
  		}
  	}
  
  	xhtml += DISPLAY_POSTPREND;
  	xhtml += '</span>';
  
  	return xhtml;
  }
  
  /* ========================================================================
  	PRINT BREADCRUMB TRAIL
     ======================================================================== */
  
  // check if we're local; if so, only print the PREPREND_CRUMBS
  if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 )
  {
  	document.write( getCrumbTrail( getBreadcrumbs() ) );
  }
  else
  {
  	document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) );
  }
  
  
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/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/krysalis-site/xslt/html/book2menu.xsl
  
  Index: book2menu.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!--
  book2menu.xsl generates the HTML menu.  See the imported book2menu.xsl for
  details.
  
  $Id: book2menu.xsl,v 1.1 2002/12/07 16:26:34 nicolaken Exp $
  -->
  
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/book2menu.xsl"/>
  
    <xsl:template match="book">
      <div class="menu">
        <ul>
          <xsl:apply-templates select="menu"/>
        </ul>
      </div>
    </xsl:template>
  
    <xsl:template match="menu">
      <li>
        <font color="#000000"><xsl:value-of select="@label"/></font>
        <ul>
          <xsl:apply-templates/>
        </ul>
      </li>
    </xsl:template>
  
    <xsl:template match="menu-item">
      <li>
        <xsl:apply-imports/>
      </li>
    </xsl:template>
    
    <xsl:template name="selected">
      <span class="sel">
        <font color="#ffcc00">
          <xsl:value-of select="@label"/>
        </font>
      </span>
    </xsl:template>
  
    <xsl:template name="print-external">
      <font color="#ffcc00">
        <xsl:apply-imports/>
      </font>
    </xsl:template>
    
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/xslt/html/changes2document.xsl
  
  Index: changes2document.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="1.0">
  
   <xsl:import href="copyover.xsl"/>
  
   <xsl:variable name="bugzilla">http://nagoya.apache.org/bugzilla/show_bug.cgi?id=</xsl:variable>
  
   <xsl:template match="/">
    <xsl:apply-templates select="//changes"/>
   </xsl:template>
   
   <xsl:template match="changes">
    <document>
     <header>
      <title>History of Changes</title>
     </header>
     <body>
      <p><link href="changes.rss"><img src="skin/images/rss.png"/></link></p> 
      <xsl:apply-templates/>
     </body>
    </document>
   </xsl:template>
  
   <xsl:template match="release">
    <section>
     <title>Version <xsl:value-of select="@version"/> (<xsl:value-of select="@date"/>)</title>
     <ul>
      <xsl:apply-templates/>
     </ul>
    </section>
   </xsl:template>
  
   <xsl:template match="action">
    <li>
     <icon src="images/{@type}.jpg" alt="{@type}"/>
     <xsl:apply-templates/>
     <xsl:text>(</xsl:text><xsl:value-of select="@dev"/><xsl:text>)</xsl:text>
  
     <xsl:if test="@due-to">
      <xsl:text> Thanks to </xsl:text>
      <xsl:variable name="email-name" select="substring-before(@due-to-email, '@')"/>
      <xsl:variable name="email-domain" select="substring-after(@due-to-email, '@')"/>
      <link href="mailto:{$email-name}.at.{$email-domain}"><xsl:value-of select="@due-to"/></link>
      <xsl:text>.</xsl:text>
     </xsl:if>
  
     <xsl:if test="@fixes-bug">
      <xsl:text> Fixes </xsl:text>
      <link href="{$bugzilla}{@fixes-bug}">
       <xsl:text>bug </xsl:text><xsl:value-of select="@fixes-bug"/>
      </link>
      <xsl:text>.</xsl:text>
     </xsl:if>
    </li>
   </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/xslt/html/changes2rss.xsl
  
  Index: changes2rss.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
       <xsl:output method = "xml"
                   version="1.0" 
                   encoding="ISO-8859-1" 
                   indent="yes"  
                   doctype-public="-//Netscape Communications//DTD RSS 0.91//EN"                   
                   doctype-system="http://my.netscape.com/publish/formats/rss-0.91.dtd"                   
                   />
                   
     <xsl:template match="status">
  
    
        <rss version="0.91">
           <channel>
              <title>Project Changes</title>
  
              <link>http://www.krysalis.org/centipede/changes.html</link>
  
              <description>Project Changes</description>
  
              <language>en-us</language>
  
              <xsl:for-each select="changes/release[1]/action">
                 <item>
                    <title>
                       <xsl:value-of select="@type" />
  
                       <xsl:if test="@context">about 
                       <xsl:value-of select="@context" />
                       </xsl:if>
  
                       <xsl:if test="@type='fix'">(fixes bug 
                       <xsl:value-of select="@fixes-bug" />
  
                       )</xsl:if>
                    </title>
  
                    <link>http://www.krysalis.org/centipede/changes.html</link>
  
                    <description>
                    <xsl:value-of select="@type" />
  
                    by 
                    <xsl:value-of select="@dev" />
  
                    <xsl:if test="@context">about 
                    <xsl:value-of select="@context" />
                    </xsl:if>
  
                    . 
                    <xsl:if test="@type='fix'">It fixes bug 
                    <xsl:value-of select="@fixes-bug" />
  
                    .</xsl:if>
  
                    . 
                    <xsl:if test="@due-to">Thanks to 
                    <xsl:value-of select="@due-to" />
  
                    .</xsl:if> 
                    
                    Message: <xsl:value-of select="." />
                    
                    </description>
                 </item>
              </xsl:for-each>
           </channel>
        </rss>
     </xsl:template>
  </xsl:stylesheet>
  
  
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!--
  This stylesheet contains the majority of templates for converting documentv11
  to HTML.  It renders XML as HTML in this form:
  
    <div class="content">
     ...
    </div>
  
  ..which site2xhtml.xsl then combines with HTML from the index (book2menu.xsl)
  and tabs (tab2menu.xsl) to generate the final HTML.
  
  $Id: document2html.xsl,v 1.1 2002/12/07 16:26:34 nicolaken Exp $
  -->
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/document2html.xsl"/>
  
    <xsl:template match="document">
  
      <div class="content">
        <xsl:if test="normalize-space(header/title)!=''">
          <table class="title">
            <tr> 
              <td valign="middle"> 
                <h1>
                  <xsl:value-of select="header/title"/>
                </h1>
              </td>
              <!--td align="center" width="80" nowrap><a href="" class="dida"><img src="images/singlepage.gif"><br>
                single page<br>
                version</a></td-->
              <xsl:if test="$nopdf = ''"> <!-- nopdf flag unset -->
                <td align="center" width="80" nowrap="nowrap"><a href="{$filename-noext}.pdf" class="dida">
                <img border="0" src="{$skin-img-dir}/printer.png"/><br/>
                  print-friendly<br/>
                  version</a>
                </td>
              </xsl:if>
            </tr>
          </table>
        </xsl:if>
        <xsl:if test="normalize-space(header/subtitle)!=''">
          <h3>
            <xsl:value-of select="header/subtitle"/>
          </h3>
        </xsl:if>
  
        <xsl:apply-templates select="body"/>
        
         <xsl:if test="header/authors">
          <p align="right">
            <font size="-2">
              <xsl:for-each select="header/authors/person">
                <xsl:choose>
                  <xsl:when test="position()=1">by&#160;</xsl:when>
                  <xsl:otherwise>,&#160;</xsl:otherwise>
                </xsl:choose>
                <xsl:value-of select="@name"/>
              </xsl:for-each>
            </font>
          </p>
        </xsl:if>
        
      </div>
    </xsl:template>
  
    <xsl:template match="body">
  
  <xsl:if test="section and not($isfaq='true')">
        <toc>
          <xsl:for-each select="section">
            <tocc>
              <toca href="#{generate-id()}">
                <xsl:value-of select="title"/>
              </toca>
              <xsl:if test="section">
                <toc2>
                  <xsl:for-each select="section">
                    <tocc>
                      <toca href="#{generate-id()}">
                        <xsl:value-of select="title"/>
                      </toca>
                    </tocc>
                  </xsl:for-each>
                </toc2>
              </xsl:if>
            </tocc>
          </xsl:for-each>
        </toc>
      </xsl:if>
      <xsl:apply-templates/>
    </xsl:template>
  
    <xsl:template match="@id">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="section">
      <a name="{generate-id()}"/>
      <xsl:apply-templates select="@id"/>
      
  	 <xsl:variable name = "level" select = "count(ancestor::section)+1" />
  	 
  	 <xsl:choose>
  	 	<xsl:when test="$level=1">
  
               <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tbody>
                  <tr>
                    <td width="9" height="10"></td>
                    <td><h3><xsl:value-of select="title"/></h3></td>
                    <td></td>
                  </tr>
                  <tr>
                    <td class="bottom-left-thick"></td>
                    <td bgcolor="#a5b6c6"></td>
                    <td class="bottom-right-thick"></td>
                  </tr>
                
                </tbody>            
              </table>
              
             <div class="section"><xsl:apply-templates/></div>	
              
  	 	</xsl:when>
  	 	<xsl:when test="$level=2">
  
               <table cellpadding="0" cellspacing="0" border="0">
                <tbody>
                  <tr>
                    <td width="9" height="10"></td>
                    <td><h4><xsl:value-of select="title"/></h4></td>
                    <td></td>
                  </tr>
                  <tr>
                    <td class="bottom-left"></td>
                    <td bgcolor="#a5b6c6"></td>
                    <td class="bottom-right"></td>
                  </tr>
                
                </tbody>            
              </table>
                  <xsl:apply-templates select="*[not(self::title)]"/>
  	 	</xsl:when>
  	 	<xsl:when test="$level=3">
  
  	 	  <h4><xsl:value-of select="title"/></h4>
  	 	      <xsl:apply-templates select="*[not(self::title)]"/>
  
  	 	</xsl:when>
  	 	<xsl:otherwise>
  	 	  <h5><xsl:value-of select="title"/></h5>
  	 	      <xsl:apply-templates select="*[not(self::title)]"/>
  	 	</xsl:otherwise>
  	 </xsl:choose>
  	      
  	</xsl:template>  
  	
    <xsl:template match="fixme | note | warning">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="link">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="jump">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="fork">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="p[@xml:space='preserve']">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="source">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="anchor">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="icon">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="code">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="figure">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="table">
      <xsl:apply-imports/>
    </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/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 2002/12/07 16:26:34 nicolaken Exp $
  -->
  
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/site2xhtml.xsl"/>
  
    <xsl:variable name="header-color" select="'#FFFFFF'"/>
    <xsl:variable name="header-color2" select="'#a5b6c6'"/>  
    <xsl:variable name="menu-border" select="'#F7F7F7'"/>
    <xsl:variable name="background-bars" select="'#CFDCED'"/>
  
  
    <xsl:template match="site">
      <html>
        <head>
          <title><xsl:value-of select="div[@class='content']/table/tr/td/h1"/></title>
          <link rel="stylesheet" href="{$root}skin/page.css" type="text/css"/>
        </head>
        <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
        
      <!-- ================================= top bar with logo's and search box ===================================  -->
  
      <xsl:comment>================= start Banner ==================</xsl:comment>
      
       <table cellspacing="0" cellpadding="0" border="0" width="100%" summary="header with logos">
        <tr>
  
          <xsl:comment>================= start Group Logo ==================</xsl:comment>
          <td bgcolor="{$header-color}">
            <xsl:if test="$config/group-url">
              <xsl:call-template name="renderlogo">
                <xsl:with-param name="name" select="$config/group-name"/>
                <xsl:with-param name="url" select="$config/group-url"/>
                <xsl:with-param name="logo" select="$config/group-logo"/>
                <xsl:with-param name="root" select="$root"/>
              </xsl:call-template>
            </xsl:if>
          </td>
          <xsl:comment>================= end Group Logo ==================</xsl:comment>
          <xsl:comment>================= start Project Logo ==================</xsl:comment>
          <td bgcolor="{$header-color}" align="center" width="100%">
            <xsl:call-template name="renderlogo">
              <xsl:with-param name="name" select="$config/project-name"/>
              <xsl:with-param name="url" select="$config/project-url"/>
              <xsl:with-param name="logo" select="$config/project-logo"/>
              <xsl:with-param name="root" select="$root"/>
            </xsl:call-template>
          </td>
          <xsl:comment>================= end Project Logo ==================</xsl:comment>
  
         <xsl:comment>================= start Search ==================</xsl:comment>
          <td bgcolor="{$header-color}" rowspan="2" valign="top">
            <xsl:if test="not($config/disable-search) or
              $config/disable-search='false' and $config/searchsite-domain and
              $config/searchsite-name">
              <form method="get" action="http://www.google.com/search" target="_blank">
                <table bgcolor="{$menu-border}" cellpadding="0" cellspacing="0" border="0" summary="search">
                  <tr>
                    <td colspan="3" bgcolor="#a5b6c6"><img src="{$spacer}" alt="" width="1" height="10" /></td>
                  </tr>
                  <tr>
                    <td colspan="3"><img src="{$spacer}" alt="" width="1" height="8" /></td>
                  </tr>                
                  <tr>
                    <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
                    <td nowrap="nowrap">
                      <input type="hidden" name="sitesearch" value="{$config/searchsite-domain}"/>
                      <input type="text" id="query" name="q" size="15"/>
                      <img src="{$spacer}" alt="" width="5" height="1" />
                      <input type="submit" value="Search" name="Search"/>
                      <br />
                      <span class="search">
                        the <xsl:value-of select="$config/searchsite-name"/> site
                        <!-- setting search options off for the moment -->
                        <!--
                        <input type="radio" name="web" value="web"/>web site&#160;&#160;<input type="radio" name="mail" value="mail"/>mail lists
                        -->
                      </span>
                    </td>
                    <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
                  </tr>
                
                  <tr>
                    <td colspan="3"><img src="{$spacer}" alt="" width="1" height="7" /></td>
                  </tr>
                              
                  <tr>
                    <td class="bottom-left-thick"></td>
                    <td bgcolor="#a5b6c6"><img src="{$spacer}" alt="" width="1" height="1" /></td>
                    <td class="bottom-right-thick"></td>
                  </tr>
                </table>
              </form>
            </xsl:if>
          </td>
          <xsl:comment>================= end Search ==================</xsl:comment>
         
          <td bgcolor="{$header-color}"><img src="{$spacer}" alt="" width="10" height="10" /></td>
        </tr>
        <tr>
          <td colspan="2" bgcolor="{$header-color}" valign="bottom">
            <xsl:comment>================= start Tabs ==================</xsl:comment>
            <xsl:apply-templates select="div[@class='tab']"/>
            <xsl:comment>================= end Tabs ==================</xsl:comment>
          </td>
          <td bgcolor="{$header-color}"><img src="{$spacer}" height="1" width="1" alt="" /></td>
        </tr>
        <tr>
          <td colspan="4" bgcolor="{$header-color2}"><img src="{$spacer}" alt="" height="10" width="1" /></td>
        </tr>
      </table>
      <xsl:comment>================= end Banner ==================</xsl:comment>
      
  
      <xsl:comment>================= start Menu, NavBar, Content ==================</xsl:comment>
      <table cellspacing="0" cellpadding="0" border="0" width="100%" bgcolor="#ffffff" summary="page content">
        <tr>
          <td valign="top">
            <table cellpadding="0" cellspacing="0" border="0" summary="menu">
              <tr>
                <xsl:comment>================= start left top NavBar ==================</xsl:comment>
                <td valign="top" rowspan="3">
                  <table cellspacing="0" cellpadding="0" border="0" summary="blue line">
                    <tr><td bgcolor="{$header-color2}"><img src="{$spacer}" alt="" height="1" width="10" /></td></tr>
                    <tr><td bgcolor="{$background-bars}"><font face="Arial, Helvetica, Sans-serif" size="4" color="{$menu-border}">&#160;</font></td></tr>
                    <tr><td bgcolor="{$header-color}"><img src="{$spacer}" alt="" height="1" width="10" /></td></tr>
                  </table>
                </td>
                <xsl:comment>================= end left top NavBar ==================</xsl:comment>
                
                <td bgcolor="{$header-color2}"><img src="{$spacer}" alt="" height="1" width="1" /></td>
                <td bgcolor="{$menu-border}" valign="bottom"><img src="{$spacer}" alt="" height="10" width="10" /></td>
                <td bgcolor="{$menu-border}" valign="top" nowrap="nowrap">
                    
                  <xsl:comment>================= start Menu items ==================</xsl:comment>
                  <!-- original: <xsl:apply-templates select="div[@class='menu']"/>    -->
                  
                   <div class="menu"><ul>                
                    <xsl:for-each select = "div[@class='menu']/ul/li">
                    	 <li><font color="#000000"><xsl:value-of select="font"/></font>
                         <ul>
                    	    <xsl:for-each select = "ul/li">
                    	    
  						<xsl:choose>
  							<xsl:when test="a">
  							  <li><a href="{a/@href}"><xsl:value-of select="a" /></a></li>
  							</xsl:when>
  							<xsl:otherwise>
  							 <li>
  							   <span class="sel"><xsl:value-of select="span" /></span></li>
  						       <ul> 
  						         <xsl:for-each select = "//toc/tocc">
  						         
  						         <xsl:choose>
  						         	<xsl:when test="string-length(toca)>15">
  						         	  <li><a href="{toca/@href}"><xsl:value-of select="substring(toca,0,15)" />...</a></li>
  						         	</xsl:when>
  						         	<xsl:otherwise>
  						              <li><a href="{toca/@href}"><xsl:value-of select="toca" /></a></li>						         	 
  						         	</xsl:otherwise>
  						         </xsl:choose>
  						         	
  						        	<ul> 
  						              <xsl:for-each select = "toc2/tocc">	
  						              
  								          <xsl:choose>
  								         	<xsl:when test="string-length(toca)>15">
  								         	  <li><a href="{toca/@href}"><xsl:value-of select="substring(toca,0,15)" />...</a></li>
  								         	</xsl:when>
  								         	<xsl:otherwise>
  								              <li><a href="{toca/@href}"><xsl:value-of select="toca" /></a></li>						         	 
  								         	</xsl:otherwise>
  								         </xsl:choose>
  						         
  						              </xsl:for-each>   
                                      </ul>
  						         </xsl:for-each>   
                                 </ul>
  							</xsl:otherwise>
  						</xsl:choose>
                    	                
                         </xsl:for-each>
                        </ul>                      
                      </li>
                    </xsl:for-each>
                   </ul></div>
                   
                  <xsl:comment>================= end Menu items ==================</xsl:comment>
                </td>
                <td bgcolor="{$menu-border}" valign="bottom"><img src="{$spacer}" alt="" height="10" width="10" /></td>
                <td bgcolor="{$header-color2}"><img src="{$spacer}" alt="" height="1" width="1" /></td>
              </tr>
              
              <tr>
                <td class="bottom-left-thick" rowspan="2" colspan="2"></td>
                <td bgcolor="{$header-color2}"><img src="{$spacer}" alt="" border="0" width="10" height="10" /></td>
                <td class="bottom-right-thick" rowspan="2" colspan="2"></td>
              </tr>
              <tr>
                <td bgcolor="{$header-color2}" height="1"><img src="{$spacer}" alt="" height="1" width="1" /></td>
              </tr>
            </table>
          </td>
         
          <td width="100%" valign="top">
            <table cellspacing="0" cellpadding="0" border="0" width="100%" summary="content">
            
              <xsl:comment>================= start middle NavBar ==================</xsl:comment>          
              <tr><td bgcolor="{$header-color2}" colspan="4"><img src="{$spacer}" alt="" height="1" width="10" /></td></tr>
              <tr>
                <td bgcolor="{$background-bars}" width="10" align="left"><img src="{$spacer}" alt="" height="1" width="10" /></td>
                <td bgcolor="{$background-bars}" width="50%" align="left">
                  <!-- ============ Page number =========== -->
                  <span class="trail">
                  &#160;        
                   <script type="text/javascript" language="JavaScript" src="{$root}skin/breadcrumbs.js"></script>          
                  <!-- <b>Page 1 of 5</b> -->
                  </span>
                    <img src="{$spacer}" alt="" height="8" width="10" />
                </td>
                <td bgcolor="{$background-bars}" width="50%" align="right">
                  <!-- ============ Page navigation =========== -->
                  <font face="Arial, Helvetica, Sans-serif" size="3" color="{$menu-border}">
                  &#160;
                  <!-- <b>&#171; prev&#160;&#160;<font size="4">[3]</font>&#160;&#160;next &#187;</b> -->
                  </font>
                    <img src="{$spacer}" alt="" height="8" width="10" />
                </td>
                <td bgcolor="#CFDCED" width="10"><img src="{$spacer}" alt="" height="1" width="10" /></td>
              </tr>
              <tr><td bgcolor="{$header-color2}" colspan="4"><img src="{$spacer}" alt="" height="1" width="10" /></td></tr>
              <xsl:comment>================= end middle NavBar ==================</xsl:comment>
  
              <xsl:comment>================= start Content==================</xsl:comment>
              <tr>
                <td width="10" align="left"><img src="{$spacer}" alt="" height="1" width="10" /></td>
                <td width="100%" align="left">
                  <xsl:apply-templates select="div[@class='content']"/>
                </td>
                <td width="10"><img src="{$spacer}" alt="" height="1" width="10" /></td>
              </tr>
              <xsl:comment>================= end Content==================</xsl:comment>
              
            </table>
          </td>
        </tr>
      </table>
      <xsl:comment>================= end Menu, NavBar, Content ==================</xsl:comment>
  
      <xsl:comment>================= start Footer ==================</xsl:comment>
      <table border="0" height="20" width="100%" cellpadding="0" cellspacing="0" summary="footer">
        <tr>
          <td bgcolor="{$menu-border}" height="1" colspan="2">
            <img src="{$spacer}" alt="" width="1" height="1" />
            <a href="{$skin-img-dir}/label.gif"/>
            <a href="{$skin-img-dir}/page.gif"/>
            <a href="{$skin-img-dir}/chapter.gif"/>
            <a href="{$skin-img-dir}/chapter_open.gif"/>
            <a href="{$skin-img-dir}/current.gif"/>
            <a href="/favicon.ico"/>
          </td>
        </tr>
        <tr>
         <xsl:if test="$config/host-logo and not($config/host-logo = '')">
            <div class="host">
              <img src="{$root}skin/images/spacer.gif" width="10" height="1" alt=""/>
              <xsl:call-template name="renderlogo">
                <xsl:with-param name="name" select="$config/host-name"/>
                <xsl:with-param name="url" select="$config/host-url"/>
                <xsl:with-param name="logo" select="$config/host-logo"/>
                <xsl:with-param name="root" select="$root"/>
              </xsl:call-template>
            </div>
          </xsl:if>
        <td width="90%" align="center" class="copyright" bgcolor="{$header-color2}" colspan="2">
            <span class="footnote">Copyright &#169;
            <xsl:value-of select="$config/year"/>&#160;<xsl:value-of
            select="$config/vendor"/> All rights reserved.
                <br/><script language="JavaScript" type="text/javascript"><![CDATA[<!--
                document.write(" - "+"Last Published: " + document.lastModified);
              //  -->]]></script></span>
          </td>
        <td class="logos" bgcolor="{$header-color2}" align="right" nowrap="nowrap">
          <xsl:if test="$filename = 'index.html' and $config/credits">
            <xsl:for-each select="$config/credits/credit">
              <xsl:variable name="name" select="name"/>
              <xsl:variable name="url" select="url"/>
              <xsl:variable name="image" select="image"/>
              <xsl:variable name="width" select="width"/>
              <xsl:variable name="height" select="height"/>
              <a href="{$url}" valign="top">
              <img alt="{$name} logo" border="0">
                <xsl:attribute name="src">
                  <xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of select="$root"/></xsl:if>
                  <xsl:value-of select="$image"/>
                </xsl:attribute>
                <xsl:if test="$width"><xsl:attribute name="width"><xsl:value-of select="$width"/></xsl:attribute></xsl:if>
                <xsl:if test="$height"><xsl:attribute name="height"><xsl:value-of select="$height"/></xsl:attribute></xsl:if>
              </img>
              <img src="{$spacer}" border="0" alt="" width="5" height="1" />
              </a>
            </xsl:for-each>
          </xsl:if>
          </td>
        </tr>
      </table>
      <xsl:comment>================= end Footer ==================</xsl:comment>    
        </body>
      </html>
      </xsl:template>
      
      
     <xsl:template match="toc|toc2|tocc|toca">
     </xsl:template>
    
        
      <xsl:template match="node()|@*" priority="-1">
        <xsl:copy>
          <xsl:apply-templates select="@*"/>
          <xsl:apply-templates/>
        </xsl:copy>
    </xsl:template>
    
    
    
    
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/skins/krysalis-site/xslt/html/tab2menu.xsl
  
  Index: tab2menu.xsl
  ===================================================================
  <?xml version="1.0"?>
  <!--
  This stylesheet generates 'tabs' at the top left of the Forrest skin.  Tabs are
  visual indicators that a certain subsection of the URI space is being browsed.
  For example, if we had tabs with paths:
  
  Tab1:  ''
  Tab2:  'community'
  Tab3:  'community/howto'
  Tab4:  'community/howto/xmlform/index.html'
  
  Then if the current path was 'community/howto/foo', Tab3 would be highlighted.
  The rule is: the tab with the longest path that forms a prefix of the current
  path is enabled.
  
  The output of this stylesheet is HTML of the form:
      <div class="tab">
        ...
      </div>
  
  which is then merged by site2xhtml.xsl
  
  $Id: tab2menu.xsl,v 1.1 2002/12/07 16:26:34 nicolaken Exp $
  -->
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/tab2menu.xsl"/>
  
    <xsl:template match="tabs">
      <div class="tab">
        <table cellspacing="0" cellpadding="0" border="0" summary="tab bar">
          <tr>
            <xsl:call-template name="base-tabs"/>
          </tr>
        </table>
      </div>
    </xsl:template>
  
    <xsl:template name="pre-separator">
      <xsl:call-template name="separator"/>
    </xsl:template>
  
    <xsl:template name="post-separator">
    </xsl:template>
  
    <xsl:template name="separator">
      <td width="8">
        <img src="{$root}skin/images/spacer.gif" width="8" height="8" alt=""/>
      </td>
    </xsl:template>
  
    <xsl:template name="selected">
      <td valign="bottom">
        <table cellspacing="0" cellpadding="0" border="0" height="22" summary="selected tab">
          <tr>
            <td class="top-left"></td>
            
            <td bgcolor="#a5b6c6" valign="middle">
              <span class="tab">
                <b>
                  <xsl:call-template name="base-selected"/>
                </b>
               </span>
             </td>
            
            <td class="top-right"></td>
          </tr>
        </table>
      </td>
    </xsl:template>
  
    <xsl:template name="not-selected">
      <td valign="bottom">
        <table cellspacing="0" cellpadding="0" border="0" height="18" summary="non selected tab">
          <tr>
          
            <td class="top-left-tab"></td>
            
            <td bgcolor="#cedfef" valign="middle">
              <span class="tab">
                <xsl:call-template name="base-not-selected"/>
              </span>              
            </td>
  
            <td class="top-right-tab"></td>
  
          </tr>
        </table>
      </td>
    </xsl:template>
  
  </xsl:stylesheet>