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

<html>
<head>
<style type="text/css">
    body{
        background:#ddd;
        color:#333;
        font-family:Baskerville,Georgia,serif;
        font-size:16pt;
        line-height:1.5em;
        margin-left:10%;
        margin-right:5%;}
</style>
</head>
<body>
<h1>Arthur Golding's translation of Ovid's Metamorphoses</h1>
<p><xsl:value-of select="TEI.2/teiHeader/fileDesc/publicationStmt/availability/list/item/quote"/></p>

<xsl:for-each select="TEI.2/text/body/div1">
    <h2>Book <xsl:value-of select="@n"/></h2>
    <p>
    <xsl:for-each select="l">
        <xsl:value-of select="." />
        <xsl:choose><xsl:when test="(position() mod 5 = 0)">
            <span style="font-size:0.6em;margin-left:8em;">
                <xsl:number value="position()" format=" 1"/>
            </span>
        </xsl:when></xsl:choose>
        <br />
    </xsl:for-each>
    </p>
</xsl:for-each>

</body>
</html>

</xsl:template>
</xsl:stylesheet>

