<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
<xsl:template match="/">
<xsl:variable name="path"><xsl:value-of select="//blog/@path"/></xsl:variable>
<xsl:variable name="title"><xsl:value-of select="//title"/></xsl:variable>
<html><head>
<title><xsl:value-of select="$title"/></title>
<link rel="stylesheet" type="text/css">
<xsl:attribute name="href"><xsl:value-of select="$path"/>default.css</xsl:attribute>
</link>
<script type="text/javascript">
<xsl:attribute name="src"><xsl:value-of select="$path"/>spade.js</xsl:attribute>
</script>
<script type="text/javascript">G.app.path='<xsl:value-of select="$path"/>'</script>
</head><body>
<div id="canvas">
<div id="identity">
<div id="user"><xsl:value-of select="//user/@name"/></div>
<a href="/"><img src="/icons/ecblank.gif" alt="Return to the homepage" /></a>
<p><strong><a href="/" id="home"><xsl:value-of select="$title"/></a></strong></p>
<p><xsl:value-of select="//tagline"/></p>
<div id="status" class="active"></div>
</div>
<div id="main">[main]
</div>
<div id="nav">
<div class="box">
<form method="post" action="/domino/search?CreateDocument" name="_search" id="search">
<input name="Query" value="" /> <input class="button" type="submit" value="Search" />
</form>
<ul>
<li><a href="/">Back to HTML</a></li>
</ul>
</div>
<div id="tagcloud" class="tagcloud"></div>
<div id="calendar"></div>
<div id="archive"></div>
</div>
<div id="legal">
	<p><xsl:apply-templates select="//legalmessage"/></p>
	<xsl:value-of select="//servermessage"/>
</div>
</div></body></html>
</xsl:template>
<xsl:template match="*"><xsl:copy-of select="."/></xsl:template>
</xsl:stylesheet>

