diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-28 09:45:59 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-28 09:45:59 +0100 |
commit | dc324de18fa24d8525cfcb7d7de7d1b9efa1eeb8 (patch) | |
tree | 9f32771fcef8441bef46c6732ae20266acd20687 /import_filters/magny-les-hameaux.xslt | |
parent | beac2636e1dafd26980c6bf3d8f1ccdd1f576e97 (diff) | |
download | Chimère - projet Saclay-dc324de18fa24d8525cfcb7d7de7d1b9efa1eeb8.tar.bz2 Chimère - projet Saclay-dc324de18fa24d8525cfcb7d7de7d1b9efa1eeb8.zip |
Ajout de la configuration d'Orsay
Diffstat (limited to 'import_filters/magny-les-hameaux.xslt')
-rw-r--r-- | import_filters/magny-les-hameaux.xslt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/import_filters/magny-les-hameaux.xslt b/import_filters/magny-les-hameaux.xslt new file mode 100644 index 0000000..3cb3786 --- /dev/null +++ b/import_filters/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> + |