<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
	version="1.0">
<!--
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
-->
  <xsl:output
    method="xml"
    version="1.0"
    indent="yes"
    encoding="iso-8859-1"
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" 
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
  />

<xsl:param name="host"/>
<xsl:param name="basedir"/>
<xsl:param name="webpage"/>

<xsl:variable name="cgi" select="concat($host,'cgi-bin/')"/>

<xsl:template match="/">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	  <head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    		<title>
			<xsl:choose>
				<xsl:when test="xhtml:html/xhtml:head/xhtml:title/text()">
					<xsl:value-of select="xhtml:html/xhtml:head/xhtml:title"/>
				</xsl:when>
				<xsl:otherwise>
					Untitled.
				</xsl:otherwise>
			</xsl:choose>
			</title>
    		<link rel="stylesheet" type="text/css" href="{$host}rapple.css"/>
	</head>
	<body  bgcolor="FFFFFF">
	<br />
	<table border="0" width="100%" cellspacing="0" cellpadding="0">
		<tr>
			<td align="left" valign="middle">
				<img src="{$host}images/rapple.png" width="150" height="122" alt="logo" />
			</td>
			<td>
				&#xA0;
			</td>
			<td align="right">
				<b>rapple website generator</b>
			</td>
		</tr>
	</table>
	<br />

	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  		<tr>
    		<td valign="middle" align="center" bgcolor="#880000" class="highlight">
				<span class="highlight">
					rapple, a lightweight XML based tool for creating standards based websites.
				</span>
			</td>
  		</tr>
	</table>

	<table border="0" width="100%" cellspacing="0" cellpadding="0">
	<tr>
	      	<td valign="top" width="130">
			<br />
			<table width="130" border="0" cellspacing="0" bgcolor="#FFFFFF" cellpadding="1">
			<tr>
				<td>
					<table width="130" border="0" cellspacing="0" cellpadding="2" bgcolor="#770000">
						<tr align="center" valign="middle"> 
							<th class="menu">introduction</th>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td> 
					<table border="0" cellpadding="8" cellspacing="0" width="130" bgcolor="#8E2828">
						<tr>
							<td valign="top">
								<a class="menuLink" href="{$host}index.html">home</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}docs/overview.html">overview</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}demo/demo.html">demo</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}license.html">license</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			</table>
			<br />
			<table width="130" border="0" cellspacing="0" bgcolor="#FFFFFF" cellpadding="1">
			<tr>
				<td>
					<table width="130" border="0" cellspacing="0" cellpadding="2" bgcolor="#770000">
						<tr align="center" valign="middle"> 
							<th class="menu">getting started</th>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td> 
					<table border="0" cellpadding="8" cellspacing="0" width="130" bgcolor="#8E2828">
						<tr>
							<td valign="top">
								<a class="menuLink" href="{$host}docs/download.html">download</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}docs/install.html">installation</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}docs/configure.html">configuration</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}docs/usage.html">usage</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}docs/logo.html">using the logo</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}docs/faq.html">faq</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}docs/help.html">getting help</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			</table>
			<br />
			<table width="130" border="0" cellspacing="0" bgcolor="#FFFFFF" cellpadding="1">
			<tr>
				<td>
					<table width="130" border="0" cellspacing="0" cellpadding="2" bgcolor="#770000">
						<tr align="center" valign="middle"> 
							<th class="menu">feedback</th>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td> 
					<table border="0" cellpadding="8" cellspacing="0" width="130" bgcolor="#8E2828">
						<tr>
							<td valign="top">
								<a class="menuLink" href="{$host}feedback/opinions.html">your opinions</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="http://sourceforge.net/tracker/?group_id=129927&amp;atid=716261">bug reports</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="http://sourceforge.net/tracker/?group_id=129927&amp;atid=716264">feature requests</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			</table>
			<br />
			<table width="130" border="0" cellspacing="0" bgcolor="#FFFFFF" cellpadding="1">
			<tr>
				<td>
					<table width="130" border="0" cellspacing="0" cellpadding="2" bgcolor="#770000">
						<tr align="center" valign="middle"> 
							<th class="menu">development</th>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td> 
					<table border="0" cellpadding="8" cellspacing="0" width="130" bgcolor="#8E2828">
						<tr>
							<td valign="top">
								<a class="menuLink" href="{$host}project/contrib/index.html">becoming involved</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}project/contrib/developers.html">developer guidelines</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
								<a class="menuLink" href="{$host}project/contrib/thanks.html">thanks</a>
								<img src="{$host}images/white.gif" alt="" height="2" width="2" /><br />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			</table>
			<br />
		</td>
		<td bgcolor="ffffff" valign="top">
			<table border="0" cellpadding="8" cellspacing="0">
				<tr>
					<td valign="top">
						<xsl:apply-templates select="xhtml:html/xhtml:body/*" />
					</td>
				</tr>
			</table>
		</td>
	</tr>
	</table>
	
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  		<tr>
    		<td valign="middle" bgcolor="#880000" align="center" class="highlight">
				<span class="highlight">
					Website Design by Alan Moran, Copyright (c) 2005
				</span>
			</td>
  		</tr>
	</table>

	<br />
	<table border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="70">
				<a href="http://rapple.sourceforge.net/">
					<img border="0" height="31" src="{$host}images/pwrapple.png" alt="powered by rapple"/>
				</a>
			</td>
			<td width="90">
				<a href="http://sourceforge.net/">
				<img border="0" height="31" width="88" 
					src="http://sourceforge.net/sflogo.php?group_id=129927&amp;type=1" 
					alt="SourceForge.net Logo" /></a>
			</td>
			<td width="90">
				<a href="http://validator.w3.org/check/referer">
				<img border="0" height="31" width="88" src="{$host}images/valid-xhtml10.gif" 
					alt="Valid XHTML 1.0!" /></a>
			</td>
			<td width="90">
				<a href="http://jigsaw.w3.org/css-validator">
				<img border="0" height="31" width="88" src="{$host}images/vcss.gif" 
					alt="Valid CSS!" /></a>
			</td>
		</tr>
	</table>
</body>
</html>

</xsl:template>

<xsl:template match="node() | @*">
	<xsl:copy>
		<xsl:apply-templates select="node() | @*" />
	</xsl:copy>
</xsl:template>

</xsl:stylesheet>

