You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ne...@apache.org on 2007/02/26 16:32:40 UTC
svn commit: r511857 -
/lenya/branches/trunk-rework-pubconf/src/webapp/lenya/xslt/modules/modules2xinclude.xsl
Author: nettings
Date: Mon Feb 26 07:32:39 2007
New Revision: 511857
URL: http://svn.apache.org/viewvc?view=rev&rev=511857
Log:
corrected hasty commit, sorry.
Modified:
lenya/branches/trunk-rework-pubconf/src/webapp/lenya/xslt/modules/modules2xinclude.xsl
Modified: lenya/branches/trunk-rework-pubconf/src/webapp/lenya/xslt/modules/modules2xinclude.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/trunk-rework-pubconf/src/webapp/lenya/xslt/modules/modules2xinclude.xsl?view=diff&rev=511857&r1=511856&r2=511857
==============================================================================
--- lenya/branches/trunk-rework-pubconf/src/webapp/lenya/xslt/modules/modules2xinclude.xsl (original)
+++ lenya/branches/trunk-rework-pubconf/src/webapp/lenya/xslt/modules/modules2xinclude.xsl Mon Feb 26 07:32:39 2007
@@ -19,21 +19,22 @@
<!-- $Id: xinclude.xsl 123414 2004-12-27 14:52:24Z gregor $ -->
<xsl:stylesheet version="1.0"
+ xmlns:lenya="http://apache.org/cocoon/lenya/publication/1.1"
xmlns:menu="http://apache.org/cocoon/lenya/menubar/1.0"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://apache.org/cocoon/lenya/publication/1.1"
+>
<xsl:param name="area"/>
- <xsl:template match="publication">
+ <xsl:template match="lenya:publication">
<menu:menu>
- <xsl:apply-templates select="modules/module"/>
+ <xsl:apply-templates select="lenya:modules/lenya:module"/>
</menu:menu>
</xsl:template>
- <xsl:template match="module">
- <xsl:if test="not(preceding-sibling::module[@name = current()/@name])">
+ <xsl:template match="lenya:module">
+ <xsl:if test="not(preceding-sibling::lenya:module[@name = current()/@name])">
<xi:include href="cocoon:/menu-xml/module/{$area}/{@name}.xml" xpointer="xpointer(/*/*)"/>
</xsl:if>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org