diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-06-04 20:21:56 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-06-04 20:21:56 +0200 |
| commit | 7af3588c0ab756a491827f2cc17c6ab0a597a298 (patch) | |
| tree | c3abb4accf58f3c3ff956bc4966f82db02270664 /xslt/magny-les-hameaux.xslt | |
| parent | 6276e56a0c0b847ffc7dd36ff226a7042e0293d0 (diff) | |
| parent | 9debc5422a42e743e8a7de6365cec7971c4a1c7d (diff) | |
| download | Chimère - projet Saclay-saclay-mobile.tar.bz2 Chimère - projet Saclay-saclay-mobile.zip | |
Merge branch 'saclay' into saclay-mobilesaclay-mobile
Conflicts:
static/saclay/css/saclay.css
static/saclay/css/styles.css
templates/chimere/base.html
templates/chimere/detail.html
templates/chimere/main_map.html
Diffstat (limited to 'xslt/magny-les-hameaux.xslt')
| -rw-r--r-- | xslt/magny-les-hameaux.xslt | 21 |
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> + |
