diff options
Diffstat (limited to 'xslt/guyancourt.xslt')
-rw-r--r-- | xslt/guyancourt.xslt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/xslt/guyancourt.xslt b/xslt/guyancourt.xslt new file mode 100644 index 0000000..235879b --- /dev/null +++ b/xslt/guyancourt.xslt @@ -0,0 +1,17 @@ +<?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> + <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> + |