<xsl:stylesheet
  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns:rss="http://purl.org/rss/1.0/"
  xmlns:geourl="http://geourl.org/rss/module/">

<xsl:output method="xml" indent="yes"/>

<xsl:template match="/">
<page>
 <title>WITW is <xsl:apply-templates select="rss:channel/rss:title"/></title>
 <query/>
 <center>
 	<xsl:attribute name="lat">
 		<xsl:value-of select="//rss:item[1]/geourl:latitude"/>
 	</xsl:attribute>
 	<xsl:attribute name="lng">
 		<xsl:value-of select="//rss:item[1]/geourl:longitude"/>
 	</xsl:attribute>
 </center>
 <span lat="0.466185" lng="0.379213"/>
<overlay panelStyle="">
	<xsl:apply-templates select="//rss:item"/>
</overlay>

</page>
</xsl:template>

<xsl:template match="rss:item">
  <location id="{generate-id(.)}" infoStyle="http://stuff.rancidbacon.com/gmaps/minipage.xsl">
    <point lat="{geourl:latitude}" lng="{geourl:longitude}"/>
    <icon class="local" image="http://maps.google.com/mapfiles/marker.png"/>
    <info>
      <title xml:space="preserve"><xsl:value-of select="rss:title"/></title>
      <address/>
      <minipage>
      	<div>
          <h2><xsl:value-of select="rss:title"/></h2>
          <p><a href="{rss:link}">View Blog</a></p>
      	</div>
      </minipage>
    </info>
  </location>
</xsl:template>

</xsl:stylesheet>  