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 2006/09/24 21:38:29 UTC
svn commit: r449466 - /lenya/trunk/src/pubs/default/sitemap.xmap
Author: andreas
Date: Sun Sep 24 12:38:28 2006
New Revision: 449466
URL: http://svn.apache.org/viewvc?view=rev&rev=449466
Log:
Pass node name to XSLT in default publication
Modified:
lenya/trunk/src/pubs/default/sitemap.xmap
Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?view=diff&rev=449466&r1=449465&r2=449466
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Sun Sep 24 12:38:28 2006
@@ -166,6 +166,7 @@
<map:parameter name="lastPublishedDate" value="{workflow:lastDate.publish}"/>
<!--Following is a show off to explain lenya.properties.xml -->
<map:parameter name="author" value="{properties:pubs.default.author}"/>
+ <map:parameter name="nodeName" value="{page-envelope:document-name}"/>
</map:transform>
</map:when>
<map:otherwise>
@@ -183,6 +184,7 @@
<map:parameter name="lastPublishedDate" value="{workflow:lastDate.publish}"/>
<!--Following is a show off to explain lenya.properties.xml -->
<map:parameter name="author" value="{properties:pubs.default.author}"/>
+ <map:parameter name="nodeName" value="{page-envelope:document-name}"/>
</map:transform>
</map:otherwise>
</map:select>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org