<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:output
  doctype-public="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
/>
<xsl:template match="/">
<html>
  <head>
    <title>Bookmarks</title>
    <style type="text/css">
ul{ list-style:none; padding:0.3em 0 0.1em 0.5em; margin:0; }
    </style>
  </head>
  <body>
<div id="BodyDiv">
    <h1>Bookmarks</h1>
<ul id="Bookmarks">
<xsl:for-each select="*">
  <xsl:apply-templates/>
</xsl:for-each>
</ul>
    </div> <!-- end id="BodyDiv" -->
  </body>
</html>
</xsl:template>

<xsl:template match="folder">
<!-- begin folder '<xsl:value-of select="title"/> -->
  <li>
    <span class="folder_title">
      <xsl:value-of select="title"/>
    </span>
    <ul id="{generate-id(current())}">
      <xsl:apply-templates/>
    </ul>
  </li>
<!-- end folder '<xsl:value-of select="title"/> -->
</xsl:template>

<xsl:template match="bookmark">
  <li><a>
    <xsl:attribute name="href">
      <xsl:value-of select="href"/>
    </xsl:attribute>
    <xsl:value-of select="title"/>
  </a></li>
</xsl:template>

<xsl:template match="separator">
  <li><hr/></li>
</xsl:template>

<xsl:template match="title"/>

<xsl:template match="desc"/>

</xsl:stylesheet>
