svn commit: r643886 - /lenya/trunk/src/modules/news/xslt/collection2rss.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Wed Apr  2 05:44:34 2008
New Revision: 643886

URL: http://svn.apache.org/viewvc?rev=643886&view=rev
Log:
Use <xsl:attribute> instead of {@xml:lang} to avoid xmlns:xml to appear in the output.

Modified:
    lenya/trunk/src/modules/news/xslt/collection2rss.xsl

Modified: lenya/trunk/src/modules/news/xslt/collection2rss.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/news/xslt/collection2rss.xsl?rev=643886&r1=643885&r2=643886&view=diff
==============================================================================
--- lenya/trunk/src/modules/news/xslt/collection2rss.xsl (original)
+++ lenya/trunk/src/modules/news/xslt/collection2rss.xsl Wed Apr  2 05:44:34 2008
@@ -76,7 +76,7 @@
       <title><meta:value element="title" ns="http://purl.org/dc/elements/1.1/" uuid="{@uuid}">
         <xsl:attribute name="lang"><xsl:value-of select="@xml:lang"/></xsl:attribute>
       </meta:value></title>
-      <description><meta:value element="description" ns="http://purl.org/dc/elements/1.1/" uuid="{@uuid}" lang="{@xml:lang}">
+      <description><meta:value element="description" ns="http://purl.org/dc/elements/1.1/" uuid="{@uuid}">
         <xsl:attribute name="lang"><xsl:value-of select="@xml:lang"/></xsl:attribute>
       </meta:value></description>
       <xsl:variable name="href">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.