<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="modules">
        <html>
            <head>
                <title>Lecturers - ECP 2007-2008</title> 
                <link href="../css/ecp20072008.css" rel="stylesheet"/>
            </head>
            <body>
                <div id="borders">
                <div class="header">
                    MA Electronic Communication and Publishing
                </div>
                
                
                <div class="menu">
                    <a>
                        <xsl:attribute name="href">
                            ../index.html
                        </xsl:attribute>
                        Home
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xml/xml-compulsory-optional-modules.xml
                        </xsl:attribute>
                        Compulsory and optional modules                       
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xml/xml-compulsory-modules.xml
                        </xsl:attribute>
                        Compulsory modules                       
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xml/xml-optional-modules.xml
                        </xsl:attribute>
                        Optional modules                       
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xml/xml-lecturers.xml
                        </xsl:attribute>
                        Lecturers                       
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xml/xml-additional-info.xml
                        </xsl:attribute>
                        Additional info                       
                    </a>
                </div>
            
            
            <div class="center"><br/>
                    <h3>List of  lecturers teaching MA in ECP</h3>
<br/>

                    <div class="leftside"><xsl:if test="module/taught.by/surname='Warwick'">
                        <img>
                            <xsl:attribute name="src">
                                <xsl:value-of select="module[taught.by/surname='Warwick']/image/@source"/>
                            </xsl:attribute>
                        </img>
                        <br/>
                        <span class="lec">Lecturer: </span>
                        <xsl:choose>
                            <xsl:when test="(not (module[taught.by/surname='Warwick']/link))">
                                    <xsl:value-of select="module/taught.by[surname='Warwick']"/>                        
                                    <br/>
                            </xsl:when>
                            <xsl:otherwise>
                                <a>
                                    <xsl:attribute name="href">
                                        <xsl:value-of select="module[taught.by/surname='Warwick']/link"/>
                                    </xsl:attribute>
                                    <xsl:value-of select="module/taught.by[surname='Warwick']"/>                        
                                </a>                                    
                                <br/>
                            </xsl:otherwise>
                        </xsl:choose>    <br/>
                        <xsl:for-each select="module/taught.by[surname='Warwick']">
                            <span class="texttitle">Module's name:<br/>
                                <span class="textdescription"><xsl:value-of select="../name"/>  <xsl:text> - </xsl:text>                           
                                    <span class="comopt"><xsl:value-of select="../@comopt"/></span>                         
                                    <br/><br/>
                                </span>
                            </span>
                        </xsl:for-each>
                    </xsl:if>
                    </div>

                
                        

                <div class="rightside"><xsl:if test="module/taught.by/surname='Terras'">
                        <img>
                            <xsl:attribute name="src">
                                <xsl:value-of select="module[taught.by/surname='Terras']/image/@source"/>
                            </xsl:attribute>
                        </img>
                        <br/>
                    <span class="lec">Lecturer: </span>
                        <xsl:choose>
                            <xsl:when test="(not (module[taught.by/surname='Terras']/link))">
                                    <xsl:value-of select="module/taught.by[surname='Terras']"/>                        
                                    <br/>
                            </xsl:when>
                            <xsl:otherwise>
                                <a>
                                    <xsl:attribute name="href">
                                            <xsl:value-of select="module[taught.by/surname='Terras']/link"/>
                                    </xsl:attribute>
                                    <xsl:value-of select="module/taught.by[surname='Terras']"/>                        
                                </a>                                    
                                <br/>
                            </xsl:otherwise>
                        </xsl:choose><br/>
                        <xsl:for-each select="module/taught.by[surname='Terras']">
                            <span class="texttitle">Module's name:<br/>
                                <span class="textdescription"><xsl:value-of select="../name"/>  <xsl:text> - </xsl:text>                           
                                    <span class="comopt"><xsl:value-of select="../@comopt"/></span>                         
                                    <br/><br/>
                                </span>
                            </span>
                            </xsl:for-each>
                </xsl:if>
                </div>

                
                

                <div class="leftside"><xsl:if test="module/taught.by/surname='Dawson'">
                            <img>
                                <xsl:attribute name="src">
                                    <xsl:value-of select="module[taught.by/surname='Dawson']/image/@source"/>
                                </xsl:attribute>
                            </img>
                            <br/>
                    <span class="lec">Lecturer: </span>
                            <xsl:choose>
                                <xsl:when test="(not (module[taught.by/surname='Dawson']/link))">
                                        <xsl:value-of select="module/taught.by[surname='Dawson']"/>                        
                                        <br/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <a>
                                        <xsl:attribute name="href">
                                            <xsl:value-of select="module[taught.by/surname='Dawson']/link"/>
                                        </xsl:attribute>
                                        <xsl:value-of select="module/taught.by[surname='Dawson']"/>                        
                                    </a>                                    
                                    <br/>
                                </xsl:otherwise>
                            </xsl:choose>   <br/> 
                            <xsl:for-each select="module/taught.by[surname='Dawson']">
                                <span class="texttitle">Module's name:<br/>
                                <span class="textdescription"><xsl:value-of select="../name"/>  <xsl:text> - </xsl:text>                           
                                <span class="comopt"><xsl:value-of select="../@comopt"/></span>                         
                                    <br/><br/>
                                </span>
                                    </span>
                            </xsl:for-each>
                        </xsl:if>
</div>
                        
                
                
                <div class="rightside"><xsl:if test="module/taught.by/surname='Miller'">
                    <img>
                        <xsl:attribute name="src">
                            <xsl:value-of select="module[taught.by/surname='Miller']/image/@source"/>
                        </xsl:attribute>
                    </img>
                    <br/>
                    <span class="lec">Lecturer: </span>
                    <xsl:choose>
                        <xsl:when test="(not (module[taught.by/surname='Miller']/link))">
                                <xsl:value-of select="module/taught.by[surname='Miller']"/>                        
                            <br/>
                        </xsl:when>
                        <xsl:otherwise>
                            <a>
                                <xsl:attribute name="href">
                                    <xsl:value-of select="module[taught.by/surname='Miller']/link"/>
                                </xsl:attribute>
                                <xsl:value-of select="module/taught.by[surname='Miller']"/>                        
                            </a>                                    
                            <br/>
                        </xsl:otherwise>
                    </xsl:choose>    <br/>
                    <xsl:for-each select="module/taught.by[surname='Miller']">
                        <span class="texttitle">Module's name:<br/>
                            <span class="textdescription"><xsl:value-of select="../name"/>  <xsl:text> - </xsl:text>                           
                                <span class="comopt"><xsl:value-of select="../@comopt"/></span>                         
                                <br/><br/>
                            </span>
                        </span>
                    </xsl:for-each>
                </xsl:if>
                </div>

                

                <div class="leftside">
                <xsl:if test="module/taught.by/surname='Home'">
                    <img>
                        <xsl:attribute name="src">
                            <xsl:value-of select="module[taught.by/surname='Home']/image/@source"/>
                        </xsl:attribute>
                    </img>
                    <br/>
                    <span class="lec">Lecturer: </span>
                    <xsl:choose>
                        <xsl:when test="(not (module[taught.by/surname='Home']/link))">
                                <xsl:value-of select="module/taught.by[surname='Home']"/>                    
                            <br/>
                        </xsl:when>
                        <xsl:otherwise>
                            <a>
                                <xsl:attribute name="href">
                                    <xsl:value-of select="module[taught.by/surname='Home']/link"/>
                                </xsl:attribute>
                                <xsl:value-of select="module/taught.by[surname='Home']"/>                        
                            </a>                                    
                            <br/>
                        </xsl:otherwise>
                    </xsl:choose><br/>
                    <xsl:for-each select="module/taught.by[surname='Home']">
                        <span class="texttitle">Module's name:<br/>
                            <span class="textdescription"><xsl:value-of select="../name"/>  <xsl:text> - </xsl:text>                           
                                <span class="comopt"><xsl:value-of select="../@comopt"/></span>                         
                                <br/><br/>
                            </span>
                        </span>
                    </xsl:for-each>
                </xsl:if>
                </div>
                <div class="clear"></div>
            </div>          
                
                <div class="menu">
                    <a>
                        <xsl:attribute name="href">
                            ../xml/xml-original.xml
                        </xsl:attribute>
                        XML
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../schema/schema.xsd
                        </xsl:attribute>
                        Schema                       
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../css/ecp20072008.css
                        </xsl:attribute>
                        CSS                       
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../tree-structure/tree.jpeg
                        </xsl:attribute>
                        Tree structure                       
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xsl/xsl-compulsory-optional-modules.xsl
                        </xsl:attribute>
                        XSL 1                     
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xsl/xsl-compulsory-modules.xsl
                        </xsl:attribute>
                        XSL 2
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xsl/xsl-optional-modules.xsl
                        </xsl:attribute>
                        XSL 3                      
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xsl/xsl-lecturers.xsl
                        </xsl:attribute>
                        XSL 4                       
                    </a>|
                    <a>
                        <xsl:attribute name="href">
                            ../xsl/xsl-additional-info.xsl
                        </xsl:attribute>
                        XSL 5                       
                    </a>
                    <br/><br/>
                    <span class="textdescription">Web page created by <a href="http://www.marcodecesaris.com">Marco De Cesaris</a> on 21st April 2008, | <a href="http://www.slais.ucl.ac.uk">School of Library, Archive and Information Studies </a> | <a href="http://www.ucl.ac.uk">UCL </a>
                    </span>
                    <br/><br/>
                </div>
</div>
                
            </body>
        </html>
    </xsl:template>
</xsl:stylesheet>

