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


<xsl:template match="halld-doc">
<html>
  <xsl:apply-templates/>
</html>
</xsl:template>


<xsl:template match="prolog">
<head>
  <xsl:apply-templates/>
</head>
</xsl:template>


<xsl:template match="title">
<title>
  <xsl:value-of select="."/>
</title>
<center>
<h1>
  <xsl:value-of select="."/>
</h1>
</center>
</xsl:template>


<xsl:template match="author">
<center>
<h2>
  <xsl:value-of select="."/>
</h2>
</center>
</xsl:template>


<xsl:template match="date">
<center>
<h2>
  <xsl:value-of select="."/>
</h2>
</center>
<br/>
<br/>
</xsl:template>


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


<xsl:template match="topic">
<br/>
  <xsl:apply-templates/>
</xsl:template>


<xsl:template match="name">
<h2>
  <xsl:value-of select="."/>
</h2>
</xsl:template>


<xsl:template match="par">
<p>
  <xsl:apply-templates/>
</p>
</xsl:template>


<xsl:template match="ref">
<a>
  <xsl:attribute name="href">
     <xsl:value-of select="@addr"/>
  </xsl:attribute>
  <xsl:value-of select="."/>
</a>
</xsl:template>



</xsl:stylesheet>






