<?xml version="1.0"?>
<!-- $Id: template.xsl 209 2008-07-04 19:48:42Z x2iiinf $ -->
<!--
    Copyright (c) 2006 Kurt M. Brown.
    This file is subject to the terms and conditions of the GNU General Public
    License. See the file COPYING for more details.
-->
<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns="http://www.w3.org/1999/xhtml"
>
<xsl:output
    method="xml"
    indent="yes"
    omit-xml-declaration="yes"
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
/>

<xsl:template match="/kpc">
<html>
 <xsl:call-template name="head"/>
 <body>
  <xsl:call-template name="header"/>
  <xsl:call-template name="menu"/>
  <xsl:copy-of xmlns:xhtml="http://www.w3.org/1999/xhtml" select="xhtml:div"/>
  <xsl:call-template name="footer"/>
 </body>
</html>

</xsl:template>

<xsl:template name="head">
 <head>
  <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
  <title><xsl:value-of select="title"/></title>
  <meta content="Kurt M. Brown" name="author"/>
  <meta name="description">
    <xsl:attribute name="content"><xsl:value-of select="description"/></xsl:attribute>
  </meta>
  <link title="common" rel="stylesheet" type="text/css">
    <xsl:attribute name="href">
      <xsl:value-of select="concat(toroot, 'common.css')"/>
    </xsl:attribute>
  </link>
 </head>
</xsl:template>

<xsl:template name="header">
 <table class="title">
  <tr>
   <td>Kurt M. Brown</td>
   <td><big><i>x<sup>2</sup><sub class="left_shift">ii</sub></i></big></td>
   <td align="right">
    <a href="http://www.x2ii.info">www.x2ii.info</a>
   </td>
  </tr>
 </table>
</xsl:template>

<xsl:template name="menu">
 <xsl:variable name="toroot" select="toroot"/>
 <div class="menu">
  <a href="{toroot}index.html">www.x2ii.info</a>
  <div title="{toroot}x2ii/index.html">Open Source Projects</div>
  <div class="submenu">
   <a href="{toroot}x2ii/loadavg_log/index.html">LoadAvg Log</a>
   <a href="{toroot}x2ii/genddl/index.html">DDL Generator</a>
   <a href="{toroot}x2ii/copperPay/index.html">CopperPay</a>
   <a href="{toroot}x2ii/xi/index.html">xi module</a>
   <a href="{toroot}xul/index.html">XUL</a>
   <div class="submenu">
    <a href="{toroot}xul/dom/index.html">DOM Add Ons</a>
    <a href="{toroot}xul/TouchButton/index.html">Touch Button</a>
   </div>
   <a href="http://mysqlsow.sourceforge.net/">MySQL SOW</a>
  </div>
  <a href="{toroot}misc/MyNotebook.html">My Dell Notebook</a>
  <a href="{toroot}make.html">Site Make</a>
  <a href="{toroot}misc/certcheat.html">certificate cheat sheet</a>
  <a href="{toroot}x2ii/gitcheat.html">git cheat sheet</a>
  <a href="{toroot}resume/index.html">resume</a>
 </div>
</xsl:template>

<xsl:template name="footer">
 <table class="footer">
  <tr>
   <td align="left">Contact: kurtb149 at yahoo dot com.</td>
   <td align="right">
    <a href="http://validator.w3.org/check/referer">
     <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!"
          height="31" width="88"/>
    </a>
    <a href="http://www.spreadfirefox.com/?q=user/register&amp;r=108768">
     <img border="0" alt="Get Firefox!" title="Get Firefox!"
          src="http://sfx-images.mozilla.org/affiliates/Buttons/88x31/get.gif"/>
    </a>
   </td>
  </tr>
 </table>
</xsl:template>

</xsl:stylesheet>
