<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 
    Auteur : D.Guebey

    Cette feuille XSLT convertit un fichier rss 2.0
    en rss simplifie 
    
    Creation : 28 avr 2005
    Modifications :

    TODO :

-->

<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:cc="http://web.resource.org/cc/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dg77="http://purl.org/rss/1.0/"
  xmlns="http://www.dg77.net/XML/"
	exclude-result-prefixes="rdf dc sy admin cc dg77"
>

<xsl:output method="xml"
	indent="yes"
	encoding="iso-8859-1"
	media-type="text/xml"
	omit-xml-declaration="no"
/>

<xsl:strip-space elements="*" />

<xsl:template match="/">
        <rss><xsl:apply-templates /></rss>
</xsl:template>

<xsl:template match="rdf:RDF">
        <xsl:apply-templates />
</xsl:template>

<xsl:template match="dg77:channel">
        <xsl:apply-templates />
</xsl:template>

<xsl:template match="dg77:item">
        <item><xsl:apply-templates /></item>
</xsl:template>

<xsl:template match="dg77:title">
        <title><xsl:apply-templates /></title>
</xsl:template>

<xsl:template match="dg77:link">
        <link><xsl:apply-templates /></link>
</xsl:template>

<xsl:template match="dg77:description">
        <description><xsl:apply-templates /></description>
</xsl:template>

<xsl:template match="dc:date">
        <pubDate><xsl:apply-templates /></pubDate>
</xsl:template>

<xsl:template match="content:encoded">
        <!--content:encoded><xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>&lt;![CDATA[<xsl:apply-templates />]]&gt;<xsl:text disable-output-escaping="yes">]]&gt;</xsl:text--><!--/content:encoded-->
        <!--content:encoded>&lt;![CDATA[<xsl:apply-templates />]]&gt;</content:encoded-->
        <!--xsl:copy-of select="."/-->
        <content:encoded><xsl:apply-templates /></content:encoded>
</xsl:template>
<!--xsl:template match="dg77:br">
        <br><xsl:apply-templates /></br>
</xsl:template>
<xsl:template match="dg77:p">
        <p><xsl:apply-templates /></p>
</xsl:template-->

<!-- omissions ************************ -->
<xsl:template match="dc:creator"/>
<xsl:template match="dc:rights"/>
<xsl:template match="dc:language"/>
<xsl:template match="admin:generatorAgent"/>
<xsl:template match="sy:updatePeriod"/>
<xsl:template match="sy:updateFrequency"/>
<xsl:template match="sy:updateBase"/>

</xsl:stylesheet>
