<xsl:stylesheet xmlns:atom="http://www.w3.org/2005/Atom" xmlns:gphoto="http://schemas.google.com/photos/2007" xmlns:media="http://search.yahoo.com/mrss/" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
  <xsl:template match="/">
    <xsl:apply-templates select="rss/channel"/>
  </xsl:template>
  <xsl:template match="channel">
    <style>
      #gallerylist ul {margin: 0!important; position: relative;list-style-type: square; }
      /* #gallerylist li {float:left;display:inline; } */
      #gallerylist a {padding:0;margin:0 auto;}
      #gallerylist a:hover {}
      #gallerylist img {border: #dddddd 3px solid;}
      #gallerylist img:hover {border: #999999 3px solid;}
      #gallerylist div {width: 88px; height: 88px; text-align: center;}
    </style>
    <h2>
      <xsl:apply-templates select="title"/>
    </h2>
    <p>
      <xsl:apply-templates select="lastBuildDate"/>
    </p>
    <ul id="gallerylist">
      <xsl:apply-templates select="item"/>
    </ul>
    <p style="width: 100%; clear:both;"/>
  </xsl:template>
  <xsl:template match="item">
      <li>
        <!-- /portals/kdf.iam.at/xslstylesheets/ -->
        <a href="picasawebalbum.aspx?rss={guid}" target="picasaalbum">
          <xsl:value-of select="media:group/media:title"/>
        </a>
      </li>
  </xsl:template>
</xsl:stylesheet>