svn commit: r596630 - /lenya/trunk/src/modules/collection/xslt/collection2cinclude.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Nov 20 03:38:31 2007
New Revision: 596630

URL: http://svn.apache.org/viewvc?rev=596630&view=rev
Log:
Collection module: include language in lenya-document URI to make the call context insensitive

Modified:
    lenya/trunk/src/modules/collection/xslt/collection2cinclude.xsl

Modified: lenya/trunk/src/modules/collection/xslt/collection2cinclude.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/collection/xslt/collection2cinclude.xsl?rev=596630&r1=596629&r2=596630&view=diff
==============================================================================
--- lenya/trunk/src/modules/collection/xslt/collection2cinclude.xsl (original)
+++ lenya/trunk/src/modules/collection/xslt/collection2cinclude.xsl Tue Nov 20 03:38:31 2007
@@ -22,7 +22,7 @@
       <xsl:copy-of select="@*"/>
       <xsl:if test="not(*)">
         <ci:include src="cocoon://modules/collection/metadata/{@uuid}/{$language}.xml"/>
-        <ci:include src="lenya-document:{@uuid}?format=xhtml"/>
+        <ci:include src="lenya-document:{@uuid},lang={$language}?format=xhtml"/>
       </xsl:if>
       <xsl:copy-of select="*"/>
     </xsl:copy>
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.