You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/11/20 12:38:31 UTC

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

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>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org