summaryrefslogtreecommitdiff
path: root/xslt/magny-les-hameaux.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/magny-les-hameaux.xslt')
-rw-r--r--xslt/magny-les-hameaux.xslt21
1 files changed, 21 insertions, 0 deletions
diff --git a/xslt/magny-les-hameaux.xslt b/xslt/magny-les-hameaux.xslt
new file mode 100644
index 0000000..3cb3786
--- /dev/null
+++ b/xslt/magny-les-hameaux.xslt
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="xml" indent="yes"/>
+ <xsl:template match="/">
+ <items>
+ <xsl:for-each select="/nodes/node">
+ <item>
+ <date><xsl:value-of select="date"/></date>
+ <name>Magny-les-Hameaux : <xsl:value-of select="titre"/></name>
+ <category><xsl:value-of select="tiquette"/></category>
+ <link><xsl:value-of select="lien"/></link>
+ <description><xsl:value-of select="corps"/></description>
+ <key>magny-les-hameaux-<xsl:value-of select="titre"/>-<xsl:value-of select="date"/></key>
+ <lat><xsl:value-of select="latitude"/></lat>
+ <lon><xsl:value-of select="longitude"/></lon>
+ </item>
+ </xsl:for-each>
+ </items>
+ </xsl:template>
+</xsl:stylesheet>
+