<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xsl:version="2.0">
  <head>
    <title>Program <xsl:value-of select="/konference/název"/></title>
    <style>
      body { font-family: Calibri, sans-serif; }
      h1 { text-align: center; background-color: navy; color: yellow; }
      h2 { color: navy; }
    </style>
  </head>
  <body>
    <h1><xsl:value-of select="/konference/název"/></h1>
    
    <xsl:for-each select="/konference/přednáška">
      <h2><xsl:value-of select="název"/></h2>      
      <p><i><xsl:value-of select="autor/jméno"/>
            <xsl:if test="autor/organizace">
              (<xsl:value-of select="autor/organizace"/>)
            </xsl:if>
         </i></p>
      <p><xsl:value-of select="popis"/></p>
      <xsl:if test="position() lt last()">
        <hr/>
      </xsl:if>
    </xsl:for-each>
  </body>
</html>