<?xml version="1.0" encoding="UTF-8" ?>
<!--
Style sheet for displaying messages

Typically used for confirmation of registrations and votes.

This style sheet transforms XML data on the form:
<messages>
  <message>[message text]</message>
  ...
</messages>

Author: Hans S. Toemmerholt, INF5270 V05

Issues:
- Add title logic
- Expand

See also:
trackVote.php
error.xsl
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html"  version="4.01" encoding="UTF-8" indent="yes"
      doctype-public="-//W3C//DTD HTML 4.01//EN"
      doctype-system="http://www.w3.org/TR/html4/strict.dtd"/>

  <xsl:include href="error.xsl"/>

  <xsl:template match="messages">
<html>
  <head>
    <title></title>
  </head>

  <body>
    <h1></h1>

	<xsl:apply-templates select="errors"/>

    <ul>
    <xsl:for-each select="message">
      <p><xsl:value-of select="."/></p>
    </xsl:for-each>
    </ul>
  </body>

</html>

  </xsl:template>

</xsl:stylesheet>
  

