<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:html="http://www.w3.org/1999/xhtml">

    <xsl:output method="html"/>
    <xsl:template match="resource">
        <html>
            <head>
                <title>
                    <xsl:value-of select="/resource/dc.title/text()"/>
                </title>
            </head>
            <body>
                <xsl:apply-templates/>
            </body>
        </html>
    </xsl:template>

    <xsl:template match="dc.title">
        <h1>
            <xsl:apply-templates/>
        </h1>
    </xsl:template>

    <xsl:template
        match="dc.date|dc.creator|dc.subject|dc.format|dc.relation|dc.coverage|dc.rights|dc.type">
        <p>
            <xsl:apply-templates/>
        </p>
    </xsl:template>

    <xsl:template match="submitter">
        <p>
            <xsl:text>Submitter: </xsl:text>
            <xsl:apply-templates/>
        </p>
    </xsl:template>
    
    <xsl:template match="submitter/name">
        <xsl:apply-templates/><xsl:text>; </xsl:text>
    </xsl:template>
    
    <xsl:template match="submitter/affiliation">
        <xsl:apply-templates/>
    </xsl:template>

    <xsl:template match="media"/>
    <!-- do nothing! don't go any further down! Here There Be Dragons! -->

</xsl:stylesheet>

