<?xml version="1.0" encoding="windows-1250"?>
<xsl:stylesheet
		version="1.0"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output method="html" encoding="windows-1250"/>  

  <xsl:template match="/">
    <html>
      <head>
	<title>Seznam odkazù</title>
      </head>
      <body>
	<xsl:apply-templates/>
      </body>
    </html>
  </xsl:template>

  <xsl:template match="preface/title|chapter/title|appendix/title|bibliography/title">
    <xsl:if test="..//ulink">
      <h2><xsl:value-of select="."/></h2>
    </xsl:if>
  </xsl:template>

  <xsl:template match="chapter/section/title">
    <xsl:if test="..//ulink">
      <h3><xsl:value-of select="."/></h3>
    </xsl:if>
  </xsl:template>

  <xsl:template match="ulink">
    <xsl:element name="a">
      <xsl:attribute name="href">
	<xsl:value-of select='@url'/>
      </xsl:attribute>
      <xsl:value-of select="."/>
    </xsl:element>
    <br/>
  </xsl:template>

  <xsl:template match="text()">
  </xsl:template>

</xsl:stylesheet>

<!-- Keep this comment at the end of the file
Local variables:
mode: xml
sgml-omittag:nil
sgml-shorttag:nil
sgml-namecase-general:nil
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->