<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-08-16T13:51:13">
    <xsl:template match="/my:myFields">
        <html>
            <body>
                <h2><a href="http://www.hgtv.com/hgtv/episode_archive/0,1783,HGTV_3876_54,00.html">Simply Quilts Collection</a></h2>
                <table border="1">
                    <tr bgcolor="#9acd32">
                        <th align="left">Title</th>
                        <th align="left">DVD</th>
                        <th align="left">Episode</th>
                        <th align="left">Comments</th>
                    </tr>
                    <xsl:for-each select="my:Episodes">
                        <tr>
                            <td>
                                <xsl:element name="a">
                                    <xsl:attribute name="href">
                                        <xsl:value-of select="@my:Link"/>
                                    </xsl:attribute>
                                    <xsl:value-of select="my:Episode"/>
                                </xsl:element>

                            </td>
                            <td>
                                <xsl:value-of select="my:DVD"/>
                            </td>
                            <td>
                                <xsl:value-of select="my:Chapter"/>
                            </td>
                            <td>
                                <xsl:value-of select="my:Comments"/>
                            </td>
                        </tr>
                    </xsl:for-each>
                </table>
            </body>
        </html>
    </xsl:template>
</xsl:stylesheet>

