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 2003/10/20 17:38:48 UTC

cvs commit: xml-forrest/src/core/context/skins/avalon-tigris/xslt/html book2menu.xsl document2html.xsl site2xhtml.xsl tab2menu.xsl

nicolaken    2003/10/20 08:38:48

  Added:       src/core/context/skins/avalon-tigris/css mysite.css
                        print.css site.css tigris.css
               src/core/context/skins/avalon-tigris/images .cvsignore
                        favicon.ico note.gif nw_maj_rond.gif nw_min.gif
                        strich.gif void.gif
               src/core/context/skins/avalon-tigris/xslt/fo document2fo.xsl
               src/core/context/skins/avalon-tigris/xslt/html book2menu.xsl
                        document2html.xsl site2xhtml.xsl tab2menu.xsl
  Log:
  First pass at moving forrest-shbat stuff in a single dir named "core"
  
  Revision  Changes    Path
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/css/mysite.css
  
  Index: mysite.css
  ===================================================================
  /*
   * Other colors:
   *  - dark blue: #036
   *  - bluish: #269
   *
   */
  
  /*
   * The Banner section.
   */
  .banner, .projectLogo, .groupLogo, .projectLogo a, .groupLogo a,
      .groupLogo a:visited, .projectLogo a:visited,
      .groupLogo a:link, .projectLogo a:link {
  }
  
  /*
   * The Status + Footer section.
   */
  .status, .breadcrumb, .searcher, .tabs {
  }
  
  .selectedTab {
  }
  
  /*
   * The Menu section.
   */
  .menuColumn {
  }
  .menubar {
  }
  .menu {
  }
  .menuLabel {
  }
  .menuItem {
  }
  
  /*
   * The Content section.
   */
  .contentColumn {
  }
  
  h1, h2, h3, h4 {
  }
  
  h3, h4 {
   }
  h3 {
    }
  h4 {  
  }
  
  .code {
  }
  
  .section {
  }
  
  .subsection {
  }
  
  /*
   * The Footer section.
   */
  .footer, .copyright, .host, .credit {
  }
  
  /*
   * General Settings
   */
  body {
  }
  
  a:link, .menuItem a:visited, .status a:visited {
   color: #036;
  }
  
  a:active, a:hover {
  
  }
  
  body, th, td {
  }
  
  .logoImage {
  }
  
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/css/print.css
  
  Index: print.css
  ===================================================================
  #banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks	{
  	display: none;
  	}
  body.docs div.docs	{
  	margin: 0 !important;
  	border: none !important
  	}
  
  /* just to be sure */
  #navcolumn {
   width: 0px;
  }
  
  #leftcol {
   width: 0px;
  }
  
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/css/site.css
  
  Index: site.css
  ===================================================================
  div#banner {
   border-top: 1px solid #fff;
   border-bottom: 1px solid #aaa;
  }
  
  #banner, #banner td {
   background: #fff;
   color: #036;
  }
  
  #tabs {
    text-align: right;
  }
  
  .selectedTab {
    color: #036;	
  }
  
   a.unselectedTab {
    color: #888888;	
  }
  
  #source {
   background-color: #fff;
   color: #000;
   border-right: 1px solid #888;
   border-left: 1px solid #888;
   border-top: 1px solid #888;
   border-bottom: 1px solid #888;
   margin-right: 7px;
   margin-left: 7px;
   margin-top: 1em;
  }
  
  #source pre {
   margin-right: 7px;
   margin-left: 7px;
  }
  
  /* make the whole column grey */
  #navcolumn {
   width: 150px;
   }
  
  #leftcol {
   width: 150px;
  }
  
  /*
   * The Menu section.
   */
  .menuColumn {
  }
  
  .menu {
    padding-bottom: .2em;
    font-size: x-small;
    text-decoration: none;
  }
  .menuLabel { font-weight: bold; }
  .menuItem {
    padding-left: 12px;
    text-decoration: none;
  }
  
  /* breadcrumbs */
  #breadcrumbs
  {
  	font-weight: bold;
  }
  .breadcrumbTrail
  {
  	padding-left: 5px;
  }
  .breadcrumb
  {
  	font-weight: bold;
  }
  .crumbSeparator
  {
  }
  
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/css/tigris.css
  
  Index: tigris.css
  ===================================================================
  /* contains rules unsuitable for Netscape 4.x; simpler rules are in ns4_only.css. see <http://style.tigris.org/> */
  
  /* colors, backgrounds, borders, link indication */ 
  
  body {
   background: #fff;
   color: #000;
   }
  .app h3, .app h4, .app th, .tabs td, .tabs th, .functnbar {
   background-image: url(images/nw_maj_rond.gif);
   background-repeat: no-repeat;
   }
  #navcolumn div div, body.docs #toc li li  {
   background-image: url(images/strich.gif);
   background-repeat: no-repeat;
   background-position: .5em .5em;
   }
  #navcolumn div div.heading  {
   background-image: none;
   }
  .app h3, .app h4 {
   color: #fff;
   }
  .app h3 {
   background-color: #036;
   }
  .app h4 {
   background-color: #888;
   }
  .a td {
   background: #ddd;
   }
  .b td {
   background: #efefef;
   }
  table, th, td {
   border: none
   }
  .mtb {
   border-top: solid 1px #ddd;
   }
  div.colbar {
   background: #bbb;
   }
  div#banner {
   border-top: 1px solid #369;
   border-bottom: 1px solid #003;
   }
  div#helptext th {
   border-bottom: 1px solid #996;
   border-right: 1px solid #996;
   }
  div#helptext td {
   border-bottom: 1px solid #cc9;
   border-right: 1px solid #cc9;
   }
  .tabs { 
   border-bottom: .75em #888 solid;
   }
  .tabs th, .tabs td {
   border-right: 1px solid #333;
   }
  .tabs td {
   border-bottom: 1px solid #ddd;
   }
  #navcolumn {
   background: #eee;
   border-right: 1px solid #aaa;
   border-bottom: 1px solid #aaa;
   }
  #breadcrumbs {
   border-bottom: 1px solid #aaa;
   background-color: #ddd;
   }
  #navcolumn, #breadcrumbs {
   border-top: 1px solid #fff;
   }
  #rightcol div.www, #rightcol div.help {
   border: 1px solid #ddd;
   }
  div#navcolumn div.focus {
   border-top: 1px solid #aaa;
   border-left: 1px solid #aaa;
   background-color: #fff;
   } 
  body.docs div.docs { 
   background: #fff;
   border-left: 1px solid #ddd;
   border-top: 1px solid #ddd;
   }
  body.docs { 
   background: #eee url(images/help_logo.gif) top right no-repeat !important;
   }
  .docs h3, .docs h4 {
   border-top: solid 1px #000;
   }
  #alerterrormessage { 
   background: url(images/icon_alert.gif) top left no-repeat !important;
   }
  .functnbar {
   background-color: #aaa;
   }
  .functnbar2, .functnbar3  {
   background: #aaa;
   }
  .functnbar3 {
   background-color: #ddd;
   }
  .functnbar, .functnbar2, .functnbar3 {
   color: #000;
   }
  .functnbar a, .functnbar2 a, .functnbar3 a {
   color: #000;
   text-decoration: underline;
   }
  #topmodule {
   background: #ddd;
   border-top: 1px solid #fff;
   border-bottom: 1px solid #aaa; 
   border-right: 1px solid #aaa; 
   }
  #topmodule #issueid {
   border-right: 1px solid #aaa;
   }
  a:link, #navcolumn a:visited, .app a:visited, .tasknav a:visited {
   color: blue;
   }
  a:active, a:hover, #leftcol a:active, #leftcol a:hover {
   color: #f30 !important;
   }
  #login a:link, #login a:visited {
   color: white; 
   text-decoration: underline;
   }
  #banner a:active, #banner a:hover {
   color: #f90 !important;
   }
  #leftcol a, #breadcrumbs a  {
   text-decoration: none;
   }
  a:link.selfref, a:visited.selfref {
   color: #555 !important;
   text-decoration: none;
   }
  h2 .lastchild {
   color: #777
   } 
  .tabs td, .tabs th {
   background-color: #ddd;
   }
  .app th {
   background-color: #bbb;
   }
  .tabs th {
   background-color: #888;
   color: #fff;
   }
  .axial th {
   background-color: #ddd;
   color: black
   }
  .tabs td {
   background-color: #ddd;
   }
  .alert { 
   color: #c00;
   }
  .confirm {
   color: green;
   }
  .info {
   color: blue;
   }
  .selection {
   background: #ffc;
   }
  #login {
   color: #fff;
   }
  #helptext th {
   background: #cc9;
   }
  #helptext td {
   background: #ffc;
   }
  .tabs a  {
   text-decoration: none;
   }
  #navcolumn div strong {
   color: #000;
   }
  #banner, #banner td { 
   background: #036;
   color: #fff;
   }
  body #banner #login a { 
   color: #fff;
   }
  
  
  /* font and text properties, exclusive of link indication, alignment, text-indent */
  
  body, th, td, input, select, textarea, h2 small {
   font-family: Verdana, Helvetica, Arial, sans-serif;
   }
  code, pre {
   font-family: 'Andale Mono', Courier, monospace;
   }
  html body, body th, body td, textarea, h2 small, .app h3, .app h4, #rightcol h3, #bodycol pre, #bodycol code {
   font-size: x-small;
   voice-family: "\"}\"";
   voice-family: inherit;
   font-size: small
   }
  html>body, html>body th, html>body td, html>body input, html>body select, html>body textarea, html>body h2 small, html>body .app h3, html>body .app h4, html>body #rightcol h3, html>body #bodycol pre, html>body #bodycol code {
   font-size: small
   }
  small, div#footer td, div#login, div.tabs th, div.tabs td, input, select, .paginate, .functnbar, .functnbar2, .functnbar3, #breadcrumbs td, .courtesylinks, #rightcol div.help, .colbar, .tasknav, body.docs div#toc, #leftcol {
   font-size: x-small;
   voice-family: "\"}\"";
   voice-family: inherit;
   font-size: x-small
   }
  html>body small, html>body div#footer td, html>body div#login, html>body div#helptext td, html>body div#helptext th, html>body div.tabs th, html>body div.tabs td, html>body input, html>body select, html>body .paginate, html>body .functnbar, html>body .functnbar2, html>body .functnbar3, html>body #breadcrumbs td, html>body .courtesylinks, html>body #rightcol div.help, html>body .colbar, html>body .tasknav, html>body.docs #toc {
   font-size: x-small
   }
  #bodycol h2 {
   font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
   font-size: 1.5em;
   font-weight: normal;
   }
  h2 small {
   font-weight: bold;
   letter-spacing: .06em;
   }
  dt {
   font-weight: bold
   }
  #login .username {
   font-weight: bold;
   }
  h4 {
   font-size: 1em;
   }
  #breadcrumbs td {
   font-weight: bold;
   } 
  .selection {
   font-weight: bold
   }
  
  
  /* box properties (exclusive of borders), positioning, alignments, list types, text-indent */
  
  #bodycol h2 {
   margin-top: .3em;
   margin-bottom: .5em;
   }
  p, ul, ol, dl {
   margin-top: .67em;
   margin-bottom: .67em;
   }
  h3, h4 {
   margin-bottom: 0;
   }
  form {
   margin-top: 0;
   margin-bottom: 0;
   }
  #bodycol {
   padding-left: 12px;
   padding-right: 12px;
   width: 100%;
   voice-family: "\"}\"";
   voice-family: inherit;
   width: auto;
   }
  html>body #bodycol {
   width: auto;
   }
  .docs {
   line-height: 1.4;
   }
  .app h3, .app h4 {
   padding: 5px;
   margin-right: 2px;
   margin-left: 2px;
   }
  .h3 p, .h4 p, .h3 dt, .h4 dt {
   margin-right: 7px;
   margin-left: 7px;
   }
  .tasknav {
   margin-bottom: 1.33em
   }
  div.colbar {
   padding: 4px;
   margin: 2px 2px 0;
   }
  .tabs { 
   margin-top: .67em;
   margin-right: 2px;
   margin-left: 2px;
   }
  #leftcol {
   padding-bottom: .5em;
   }
  #breadcrumbs td {
   vertical-align: middle;
   padding: 2px 8px;
   } 
  #rightcol div.www, #rightcol div.help {
   padding: 0 .5em
   }
  #navcolumn {
   margin: -8px -8px 0 -8px;
   padding: 4px;
   }
  #navcolumn div {
   padding-left: 5px
   }
  div#navcolumn div div {
   margin-top: .3em;
   margin-bottom: .3em;
   }
  div#navcolumn div.focus { 
   margin-top: -.1em;
   padding: .2em 4px; 
   } 
  body.docs #toc { 
   position: absolute;
   top: 15px;
   left: 0px;
   width: 120px;
   padding: 0 20px 0 0
   }
  body.docs #toc ul, #toc ol {
   margin-left: 0;
   padding-left: 0;
   }
  body.docs #toc li {
   margin-top: 7px;
   padding-left: 10px;
   list-style-type: none;
   }
  body.docs div.docs { 
   margin: 61px 0 0 150px;
   padding: 1em 2em 1em 1em !important;
   }
  .docs p+p {
   text-indent: 5%;
   margin-top: -.67em
   }
  .docs h3, .docs h4 {
   margin-bottom: .1em;
   padding-top: .3em;
   }
  #alerterrormessage { 
   padding-left: 100px;
   }
  .functnbar, .functnbar2, .functnbar3 {
   padding: 5px;
   margin: .67em 2px;
   }
  #topmodule td {
   vertical-align: middle;
   padding: 2px 8px
   } 
  body {
   padding: 1em;
   }
  body.composite, body.docs {
   margin: 0;
   padding: 0;
   }
  th, td {
   text-align: left;
   vertical-align: top 
   }
  .right {
   text-align: right !important;
   }
  .center {
   text-align: center !important;
   }
  .tabs td, .tabs th {
   padding-left: 7px;
   padding-right: 7px;
   }
  .axial th {
   text-align: right;
   }
  .app .axial td th {
   text-align: left;
   }
  body td .stb {
   margin-top: 1em;
   text-indent: 0;
   }
  body td .mtb {
   margin-top: 2em;
   text-indent: 0;
   }
  dd {
   margin-bottom: .67em;
   }
  #footer {
   margin: 4px
   }
  #helptext {
   margin-top: 1em
   }
  #helptext td div {
   margin: .5em
   }
  .courtesylinks {
   margin-top: 1em;
   padding-top: 1em
   }
  #navcolumn div {
   margin-bottom: .5em;
   }
  #navcolumn div div {
   margin-top: .3em
   }
  #navcolumn div div {
   padding-left: 1em;
   }
  #banner, #banner td { 
   vertical-align: middle;
   }
  body.docs, body.nonav {
   margin: 1em
   }
  
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/images/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  Thumbs.db
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/images/favicon.ico
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/images/note.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/images/nw_maj_rond.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/images/nw_min.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/images/strich.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/images/void.gif
  
  	<<Binary file>>
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/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/core/context/skins/avalon-tigris/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:template match="book">
      <div class="menuBar">
        <xsl:apply-templates select="menu"/>
      </div>
    </xsl:template>
  
    <xsl:template match="menu">
      <div class="menu">
        <span class="menuLabel"><xsl:value-of select="@label"/></span>
        <xsl:call-template name="base-menu"/>
      </div>
    </xsl:template>
  
    <xsl:template match="menu-item[@type='hidden']"/>
  
    <xsl:template match="menu-item">
      <div class="menuItem">
        <xsl:apply-imports/>
      </div>
    </xsl:template>
  
    <xsl:template name="selected">
      <span class="menuSelected">
        <xsl:value-of select="@label"/>
      </span>
    </xsl:template>
  
    <xsl:template name="print-external">
      <font color="#ffcc00">
        <span class="externalSelected">
          <xsl:apply-imports/>
        </span>
      </font>
    </xsl:template>
  
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/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 2003/10/20 15:38:48 nicolaken Exp $
  -->
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    <xsl:import href="../../../common/xslt/html/document2html.xsl"/>
  
  <!-- ====================================================================== -->
  <!-- document section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="document">
    <!-- checks if this is the included document to avoid neverending loop -->
    <xsl:if test="not(book)">
        <document>
        <xsl:choose>
  		<xsl:when test="header/title">
  		      <title><xsl:value-of select="header/title"/></title>
  		</xsl:when>
  		<xsl:otherwise>
  			<title>NO TITLE</title>
  		</xsl:otherwise>
  	</xsl:choose>
        <body>
          <xsl:apply-templates/>
          <xsl:if test="header/authors">
              <div align="right" id="authors">       
                 <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>
                       <!-- <a href="mailto:{@email}"> -->
                        <xsl:value-of select="@name" />
                       <!-- </a> -->
                    </xsl:for-each>
                </div>
           </xsl:if>         
        </body>
        </document>
     </xsl:if>
  
    
      
     <xsl:if test="book">
      <xsl:apply-templates/>
     </xsl:if>
    </xsl:template>
  
     <xsl:template match="body">
      <xsl:apply-templates/>
    </xsl:template>
    
   
  <!-- ====================================================================== -->
  <!-- header section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="header">
    <!-- ignore on general document -->
   </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- body section -->
  <!-- ====================================================================== -->
  
     <xsl:template match="section">
  	
  	 <xsl:variable name = "level" select = "count(ancestor::section)+1" />
  	 
  	 <xsl:choose>
  	 	<xsl:when test="$level=1">
  	 	  <div class="h3"><h3><xsl:value-of select="title"/></h3></div>
  	      <xsl:apply-templates/>
  	 	</xsl:when>
  	 	<xsl:when test="$level=2">
  	 	  <div class="h4"><h4><xsl:value-of select="title"/></h4></div>
  	      <xsl:apply-templates/>
  	 	</xsl:when>
  	 	<xsl:when test="$level=3">
  	 	  <div class="h2"><h2><xsl:value-of select="title"/></h2></div>
  	      <xsl:apply-templates/>
  	 	</xsl:when>
  	 	<xsl:otherwise>
  	 	  <div class="h5"><h5><xsl:value-of select="title"/></h5></div>
  	      <xsl:apply-templates/>	 	 
  	 	</xsl:otherwise>
  	 </xsl:choose>
  
  	</xsl:template>  
  
   <xsl:template match="title">
   </xsl:template>
   	       
  <!-- ====================================================================== -->
  <!-- footer section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="footer">
    <!-- ignore on general documents -->
   </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- paragraph section -->
  <!-- ====================================================================== -->
  
    <xsl:template match="p">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="note">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="source">
      <xsl:apply-imports/>
    </xsl:template>
    
    <xsl:template match="//source/font">
      <font color="{@color}"><xsl:apply-templates/></font>
    </xsl:template>
      
    <xsl:template match="fixme">
      <xsl:apply-imports/>
    </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- list section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="ul|ol|dl">
      <xsl:apply-imports/>
   </xsl:template>
   
   <xsl:template match="li">
      <xsl:apply-imports/>
   </xsl:template>
  
   <xsl:template match="sl">
      <xsl:apply-imports/>
   </xsl:template>
  
   <xsl:template match="dt">
      <xsl:apply-imports/>
   </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- table section -->
  <!-- ====================================================================== -->
  
    <xsl:template match="table">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="tr">
      <xsl:variable name="index"><xsl:number/></xsl:variable>
      <tr>
         <xsl:choose>
            <xsl:when test="($index mod 2) = 0">
               <xsl:attribute name="class">a</xsl:attribute>
            </xsl:when>
            <xsl:otherwise>
               <xsl:attribute name="class">b</xsl:attribute>
            </xsl:otherwise>
         </xsl:choose>
       
         <xsl:apply-templates/>
      </tr>
    </xsl:template>
  
    <xsl:template match="th">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="td">
      <xsl:apply-imports/>
    </xsl:template>
  
    <xsl:template match="tn">
      <xsl:apply-imports/>
    </xsl:template>
    
    <xsl:template match="caption">
      <!-- ignore since already used -->
    </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- markup section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="strong">
      <xsl:apply-imports/>
   </xsl:template>
  
   <xsl:template match="em">
      <xsl:apply-imports/>
   </xsl:template>
  
   <xsl:template match="code">
      <xsl:apply-imports/>
   </xsl:template>
   
  <!-- ====================================================================== -->
  <!-- images section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="figure">
      <xsl:apply-imports/>
   </xsl:template>
   
   <xsl:template match="img">
      <xsl:apply-imports/>
   </xsl:template>
  
   <xsl:template match="icon">
      <xsl:apply-imports/>
   </xsl:template>
  
  <!-- ====================================================================== -->
  <!-- links section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="link">
      <xsl:apply-imports/>
   </xsl:template>
  
   <xsl:template match="connect">
      <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="anchor">
      <xsl:apply-imports/>
   </xsl:template>  
  
  <!-- ====================================================================== -->
  <!-- specials section -->
  <!-- ====================================================================== -->
  
   <xsl:template match="br">
      <xsl:apply-imports/>
   </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/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/10/20 15:38:48 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:template match="site">
        <html>
           <head>
              <xsl:comment>*** This is a generated file.  Do not edit.  ***</xsl:comment>
              <link type="text/css" href="{$root}skin/tigris.css" rel="stylesheet" />
              <link type="text/css" href="{$root}skin/mysite.css" rel="stylesheet" />
              <link type="text/css" href="{$root}skin/site.css"   rel="stylesheet" />
              <link type="text/css" href="{$root}skin/print.css"  rel="stylesheet" media="print" />
  
              <title>
                <xsl:value-of select="/site/document/title" />
              </title>
           </head>
      
    <body class="composite" bgcolor="white">
      
      <xsl:comment>================= start Banner ==================</xsl:comment>
        <div id="banner">
          <table border="0" summary="banner" cellspacing="0" cellpadding="8" width="100%">
           <tbody>        
            <tr>
              <xsl:comment>================= start Group Logo ==================</xsl:comment>
              <xsl:if test="$config/group-name">
              <td align="left">
                <div class="groupLogo">
                  <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>
                </div>
              </td>
              </xsl:if>
              <xsl:comment>================= end Group Logo ==================</xsl:comment>
              <xsl:comment>================= start Project Logo ==================</xsl:comment>
              <td align="right">
                <div class="projectLogo">
                  <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>
                </div>
              </td>
              <xsl:comment>================= end Project Logo ==================</xsl:comment>
            </tr>
           </tbody>          
          </table>
        </div>
      <xsl:comment>================= end Banner ==================</xsl:comment>
  
      <xsl:comment>================= start Main ==================</xsl:comment>
      <table id="breadcrumbs" summary="nav" border="0" cellspacing="0" cellpadding="0" width="100%">
       <tbody>    
        <xsl:comment>================= start Status ==================</xsl:comment>
        <tr class="status">
          <td>
            <xsl:comment>================= start BreadCrumb ==================</xsl:comment>
              <a href="{$config/trail/link1/@href}"><xsl:value-of select="$config/trail/link1/@name" /></a> 
              <xsl:if test = "($config/trail/link2/@name)and(normalize-space($config/trail/link2/@name)!='')"><xsl:text> | </xsl:text></xsl:if>                                 
              <a href="{$config/trail/link2/@href}"><xsl:value-of select="$config/trail/link2/@name" /></a>
              <xsl:if test = "($config/trail/link3/@name)and(normalize-space($config/trail/link3/@name)!='')"><xsl:text> | </xsl:text></xsl:if>                                 
              <a href="{$config/trail/link3/@href}"><xsl:value-of select="$config/trail/link3/@name" /></a>
            <!-- useful when we have <link> elements instead of link(n:=1..3)  
            <xsl:for-each select="$config/trail/link">
              <xsl:if test="position()!=1">|</xsl:if>
              <a href="{@href}"><xsl:value-of select="@name"/></a>
            </xsl:for-each>
            -->
            <xsl:comment>================= end BreadCrumb ==================</xsl:comment>
          </td>
          <td id="tabs">
            <xsl:comment>================= start Tabs ==================</xsl:comment>
            <xsl:apply-templates select="div[@class='tab']"/>
            <xsl:comment>================= end Tabs ==================</xsl:comment>
          </td>
        </tr>
       </tbody>      
      </table>      
        <xsl:comment>================= end Status ==================</xsl:comment>
  
  
      <table border="0" summary="" cellspacing="0" cellpadding="8" width="100%" id="main">
       <tbody>
        <tr valign="top">
          <xsl:comment>================= start Menu ==================</xsl:comment>
          <td id="leftcol">
            <div id="navcolumn">
              <xsl:apply-templates select="div[@class='menuBar']"/>
            </div>
          </td>
          <xsl:comment>================= end Menu ==================</xsl:comment>
  
          <xsl:comment>================= start Content ==================</xsl:comment>
          <td>
            <div id="bodycol">
              <div class="app">
                <div align="center">
                  <h1><xsl:value-of select="/site/document/title" /></h1>
                  <xsl:if test="/site/document/subtitle">
                    <h2><xsl:value-of select="/site/document/subtitle" /></h2>
                  </xsl:if>
                 </div>
                  <div class="h3">
                     <xsl:copy-of select="/site/document/body/node()|@*" />
                  </div>
                </div>
              </div>
          </td>
          <xsl:comment>================= end Content ==================</xsl:comment>
        </tr>
       </tbody>      
      </table>
      <xsl:comment>================= end Main ==================</xsl:comment>
  
      <xsl:comment>================= start Footer ==================</xsl:comment>
      <div id="footer">
      <table border="0" width="100%" cellpadding="4" cellspacing="0" summary="footer">
       <tbody>
        <tr>
          <xsl:comment>================= start Copyright ==================</xsl:comment>
          <td colspan="2">
            <div align="center">
              <div class="copyright">
                Copyright &#169; <xsl:value-of select="$config/year"/>&#160;<xsl:value-of
                select="$config/vendor"/>. All rights reserved.
              </div>
            </div>
          </td>
          <xsl:comment>================= end Copyright ==================</xsl:comment>
        </tr>
        <tr>
        <td align="left">
          <xsl:comment>================= start Host ==================</xsl:comment>
          <xsl:if test="$config/host-logo and not($config/host-logo = '')">
            <div align="left">
              <div class="host">
                <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>
            </div>
          </xsl:if>
          <xsl:comment>================= end Host ==================</xsl:comment>
        </td>
        <td align="right">
          <xsl:comment>================= start Credits ==================</xsl:comment>
          <div align="right">
            <div class="credit">
              <xsl:if test="$filename = 'index.html'">
                <xsl:call-template name="compliancy-logos"/>
                <xsl:if test="$config/credits">
                  <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
                    <xsl:call-template name="renderlogo">
                      <xsl:with-param name="name" select="name"/>
                      <xsl:with-param name="url" select="url"/>
                      <xsl:with-param name="logo" select="image"/>
                      <xsl:with-param name="root" select="$root"/>
                      <xsl:with-param name="width" select="width"/>
                      <xsl:with-param name="height" select="height"/>
                    </xsl:call-template>
                  </xsl:for-each>
                </xsl:if>
              </xsl:if>
            </div>
          </div>
          <xsl:comment>================= end Credits ==================</xsl:comment>
          </td>
        </tr>
       </tbody>
      </table>
      </div>
      <xsl:comment>================= end Footer ==================</xsl:comment>
  
        </body>
      </html>
      </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/core/context/skins/avalon-tigris/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:template name="pre-separator">
    </xsl:template>
  
    <xsl:template name="post-separator">
    </xsl:template>
  
    <xsl:template name="separator">
      <xsl:text> | </xsl:text>
    </xsl:template>
  
    <xsl:template name="selected" mode="print">
      <span class="selectedTab">
        <xsl:call-template name="base-selected"/>
      </span>
    </xsl:template>
  
    <xsl:template name="not-selected" mode="print">
      <span class="unselectedTab">
      <!-- Called from 'not-selected' -->
       <a>
        <xsl:attribute name="href">
          <xsl:call-template name="calculate-tab-href">
            <xsl:with-param name="tab" select="."/>
            <xsl:with-param name="path" select="$path"/>
          </xsl:call-template>
        </xsl:attribute>
        <xsl:value-of select="@label"/>
       </a>
      </span>
    </xsl:template>
  
  </xsl:stylesheet>