diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-07-28 20:07:38 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-07-28 20:07:38 +0200 |
commit | d050b5ad90a23a2e28323d7cf4434dad12340ab5 (patch) | |
tree | 8114929e029efe5a9313a59c9b6464bfb919e584 | |
parent | 286f904655a7699a32a973197ebeeb76f6e6369a (diff) | |
download | Chimère - projet Saclay-d050b5ad90a23a2e28323d7cf4434dad12340ab5.tar.bz2 Chimère - projet Saclay-d050b5ad90a23a2e28323d7cf4434dad12340ab5.zip |
Ajout du XSLT pour l'agenda de Guyancourt
-rw-r--r-- | xslt/guyancourt.xslt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/xslt/guyancourt.xslt b/xslt/guyancourt.xslt new file mode 100644 index 0000000..bc30103 --- /dev/null +++ b/xslt/guyancourt.xslt @@ -0,0 +1,18 @@ +<?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="/rss/channel/item"> + <item> + <date><xsl:value-of select="date"/></date> + <name>Ville de Guyancourt : <xsl:value-of select="title"/></name> + <link><xsl:value-of select="link"/></link> + <description><xsl:value-of select="description"/></description> + <key>guyancourt-<xsl:value-of select="guid"/></key> + </item> + </xsl:for-each> + </items> + </xsl:template> +</xsl:stylesheet> + |