<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gnomon="http://www.npsl.co.uk/gnomon" xmlns:verb="http://informatik.hu-berlin.de/xmlverbatim" version="1.0" extension-element-prefixes="gnomon verb">
<!---->
<xsl:output method="html" indent="yes" version="4.0" encoding="us-ascii" media-type="text/html" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" />
<!---->
<xsl:include href="/gnomon/util/xml-source-link.xsl" />
<xsl:include href="/gnomon/util/xmlverbatim.xsl" />
<!---->
<xsl:template match="/document">
<!---->
<html>
<!---->
<head>
<title><xsl:value-of select="title" /></title>
<link rel="stylesheet" type="text/css" href="../../util/xmlverbatim.css" />
</head>
<!---->
<body>
<xsl:apply-templates select="body" />
</body>
</html>
</xsl:template>
<!---->
<xsl:template match="heading">
<h1><xsl:apply-templates select="node()" /></h1>
</xsl:template>
<!---->
<xsl:template match="sub-heading">
<h2><xsl:apply-templates select="node()" /></h2>
</xsl:template>
<!---->
<xsl:template match="paragraph">
<p><xsl:apply-templates select="node()" /></p>
</xsl:template>
<!---->
<xsl:template match="link">
<a href="{@linkend}"><xsl:apply-templates select="node()" /></a>
</xsl:template>
<!---->
<xsl:template match="itemizedlist">
<ul><xsl:apply-templates select="node()" /></ul>
</xsl:template>
<!---->
<xsl:template match="listitem">
<li><xsl:apply-templates select="node()" /></li>
</xsl:template>
<!---->
<xsl:template match="show-cookies">
<!---->
<xsl:call-template name="xml-pretty-print">
<xsl:with-param name="doc" select="gnomon:read-cookies()" />
</xsl:call-template>
</xsl:template>
<!---->
<xsl:template match="show-query-string">
<!---->
<xsl:call-template name="xml-pretty-print">
<xsl:with-param name="doc" select="gnomon:request('q')" />
</xsl:call-template>
</xsl:template>
<!---->
<xsl:template match="show-form">
<!---->
<xsl:call-template name="xml-pretty-print">
<xsl:with-param name="doc" select="gnomon:request('f')" />
</xsl:call-template>
</xsl:template>
<!---->
<xsl:template match="show-parameters">
<!---->
<xsl:call-template name="xml-pretty-print">
<xsl:with-param name="doc" select="gnomon:request('p')" />
</xsl:call-template>
</xsl:template>
<!---->
<xsl:template match="show-server-variables">
<!---->
<xsl:call-template name="xml-pretty-print">
<xsl:with-param name="doc" select="gnomon:server-variables()" />
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>