<?xml version="1.0"?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
    <xsl:template match="PROGRAM">
        <HTML>
            <HEAD><TITLE><xsl:value-of select="TITLE"/></TITLE></HEAD>
            <BODY bgcolor = "#fffed0">
                <CENTER>
                    <H1><xsl:value-of select="TITLE"/></H1>
                    <H2><xsl:value-of select="TIMINGS"/></H2>
                    <H2><xsl:value-of select="LOCATION"/></H2>
                </CENTER>
             <br></br> 
               This page generated from 
               <a href="program.xml"> XML source</a>
               using this <a href="program.xsl">XSL source</a>
             
                <xsl:apply-templates select="SESSION"/>
            </BODY>
        </HTML>           
    </xsl:template>

    <xsl:template match="SESSION">
        <TABLE>
            <TR> <TD> <xsl:value-of select="TIMINGS"/></TD> 
                 <TD> <font color="#ff0000" size="+1">
                      <xsl:value-of select="NAME"/> </font>
                 </TD>
            </TR>
            <TR><TD></TD>
                <TD> <xsl:apply-templates select="TALKS"/>   
                </TD>
            </TR>
        </TABLE>
    </xsl:template>

    <xsl:template match="TALKS">
        <TABLE BORDER="1">
            <xsl:apply-templates select="TALK"/>
        </TABLE>
    </xsl:template>

    <xsl:template match="TALK">
        <TR> 
            <TD><xsl:value-of select="TIMINGS"/></TD>
	    <TD>
	    <A> 
	      <xsl:attribute name="href">
              <xsl:value-of select="FILE"/>
	      </xsl:attribute>
            <font color="#6666FF"><xsl:value-of select="TITLE"/></font>
            </A>
            </TD>
            <TD><xsl:apply-templates select="SPEAKER"/></TD>
        </TR>
    </xsl:template>

    <xsl:template match="SPEAKER">
        <xsl:value-of select="NAME"/><BR></BR>
        (<xsl:value-of select="INSTI"/>)
    </xsl:template>
</xsl:stylesheet>

