<?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="//application/@path"/></xsl:variable>
<xsl:variable name="title"><xsl:value-of select="//application/@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"/>dsb.css</xsl:attribute>
</link>
<script type="text/javascript">
<xsl:attribute name="src"><xsl:value-of select="$path"/>dsb-script.js</xsl:attribute>
</script>
<script type="text/javascript">G.app.path='<xsl:value-of select="$path"/>'</script>
</head><body><div id="canvas">
<div id="signature"><xsl:value-of select="$title"/></div>
<div id="tree"><div id="tree-actions" class="actions"></div><div id="tree-content"></div></div>
<div id="doc">
<div id="doc-actions" class="actions"><a href="" onclick="G.app.create('blogentry');return false">New Post</a></div>
<div id="doc-content"><div id="doc-render"></div>
<textarea id="debug" style="width:700px;height:200px;clear:both"></textarea>
</div>
</div>
<div id="status">Ready.</div>
</div></body></html>
</xsl:template>
</xsl:stylesheet>

