<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes">
    <xsl:output version="1.0" encoding="UTF-8" indent="no" omit-xml-declaration="no" media-type="text/html" />
    <xsl:template match="/">
        <html>
            <head>
                <title />
            </head>
            <body>
                <br />
                <span style="font-weight:bold; ">Music Collection</span>
                <hr color="#0080C0" size="3" />
                <xsl:for-each select="AlbumList">
                    <br />
                    <table border="1">
                        <thead>
                            <tr>
                                <td>
                                    <span style="font-weight:bold; ">Title</span>
                                </td>
                                <td>
                                    <span style="font-weight:bold; ">Artist</span>
                                </td>
                                <td>
                                    <span style="font-weight:bold; ">Genre</span>
                                </td>
                                <td>
                                    <span style="font-weight:bold; ">Label</span>
                                </td>
                                <td>
                                    <span style="font-weight:bold; ">Format</span>
                                </td>
                                <td>
                                    <span style="font-weight:bold; ">Year</span>
                                </td>
                            </tr>
                        </thead>
                        <tbody>
                            <xsl:for-each select="Album">
                                <tr>
                                    <td>
                                        <xsl:for-each select="Title">
                                            <xsl:apply-templates />
                                        </xsl:for-each>
                                    </td>
                                    <td>
                                        <xsl:for-each select="Artist">
                                            <xsl:apply-templates />
                                        </xsl:for-each>
                                    </td>
                                    <td>
                                        <xsl:for-each select="Genre">
                                            <xsl:apply-templates />
                                        </xsl:for-each>
                                    </td>
                                    <td>
                                        <xsl:for-each select="Label">
                                            <xsl:apply-templates />
                                        </xsl:for-each>
                                    </td>
                                    <td>
                                        <xsl:for-each select="Format">
                                            <xsl:apply-templates />
                                        </xsl:for-each>
                                    </td>
                                    <td>
                                        <xsl:for-each select="Year">
                                            <xsl:apply-templates />
                                        </xsl:for-each>
                                    </td>
                                </tr>
                            </xsl:for-each>
                        </tbody>
                    </table>
                    <br />
                </xsl:for-each>
                <br />
                <hr color="#0080C0" size="1" />
                <p align="center">Created by <a>
                        <xsl:attribute name="href"><xsl:text disable-output-escaping="yes">http://www.blueforge.net</xsl:text></xsl:attribute>CDLibX</a>
                    <br />
                </p>
            </body>
        </html>
    </xsl:template>
</xsl:stylesheet>
