Project

General

Profile

1 3032 perry
<?xml version="1.0" encoding="UTF-8"?>
2
3
4
5
<!--
6
7
Description: presents the list of events in a GeoRSS
8
9
Author:      adair
10
11
Licence:     LGPL as specified in http://www.gnu.org/copyleft/lesser.html .
12
13
14
15
$Id$
16
17
$Name$
18
19
-->
20
21
22
23
<xsl:stylesheet version="1.0"
24
25
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
26
27
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
28
29
  xmlns:rss="http://purl.org/rss/1.0/"
30
31
  xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"
32
33
  xmlns:dc="http://purl.org/dc/elements/1.1/"
34
35
  xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
36
37
  xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
38
39
40
41
   <xsl:output method="xml" indent="yes" />
42
43
44
45
  <xsl:template match="rss:item">
46
    <results>
47
  	<b>title:</b><xsl:value-of select="rss:title"/><br/>
48
  	<b>description:</b><xsl:value-of select="rss:description"/><br/>
49
  	<b>date:</b><xsl:value-of select="rss:date"/><br/>
50
51
    <b>long:</b><xsl:value-of select="geo:long"/><br/>
52
53
    <b>lat:</b><xsl:value-of select="geo:lat"/><br/>
54
55
    <b>link:</b><xsl:element name="a">
56
     <xsl:attribute name="href"><xsl:value-of select="rss:link"/></xsl:attribute>click here for more information!
57
    </xsl:element><br/>
58
    </results>
59
60
  </xsl:template>
61
62
63
64
</xsl:stylesheet>