<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
        <html>
            <head></head>
            <body>
                <xsl:apply-templates/>
                <xsl:element name="a">
                    <xsl:attribute name="href">
                       <xsl:value-of select="root"/>
                    </xsl:attribute>  
                </xsl:element>
            </body>
        </html>
    </xsl:template>
</xsl:stylesheet>