<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html" indent="yes"/>






<xsl:template match="/">

   <html>
   <head>

	   <title><xsl:value-of select="descript/title"/></title>
   <style type="text/css">
    	.large {font-family : Verdana, sans-serif;
  font-size: large;}
	.serif {font-family: serif;}
	.note {font-family: monospace; color:red;}
   </style>
   </head>
   <body>


<xsl:apply-templates />



   </body>
   </html>
</xsl:template>

<xsl:template match="titpage">
<div class="large">Title Page</div><xsl:apply-templates/>
</xsl:template>

<xsl:template match="titpage/text">
<span class="serif"><xsl:apply-templates/></span>
</xsl:template>

<xsl:template match="titpage/note">
<div class="note"><xsl:apply-templates/></div>
</xsl:template>

<xsl:template match="title">
<h3><xsl:apply-templates/></h3>
</xsl:template>



<xsl:template match="collat/numleaf">
<p><strong>Number of leaves:</strong><br /><em><xsl:apply-templates/></em></p>
</xsl:template>

<xsl:template match=" title | gather | col | sign | link | pagfol "/>

</xsl:stylesheet>

