You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/04/14 23:34:50 UTC

svn commit: r394203 - /lenya/trunk/src/modules/opendocument/sitemap.xmap

Author: thorsten
Date: Fri Apr 14 14:34:47 2006
New Revision: 394203

URL: http://svn.apache.org/viewcvs?rev=394203&view=rev
Log:
adding parameter to the opendocument transformer

Modified:
    lenya/trunk/src/modules/opendocument/sitemap.xmap

Modified: lenya/trunk/src/modules/opendocument/sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/opendocument/sitemap.xmap?rev=394203&r1=394202&r2=394203&view=diff
==============================================================================
--- lenya/trunk/src/modules/opendocument/sitemap.xmap (original)
+++ lenya/trunk/src/modules/opendocument/sitemap.xmap Fri Apr 14 14:34:47 2006
@@ -62,7 +62,11 @@
         </map:transform>
 -->
 
-        <map:transform src="fallback://lenya/modules/opendocument/xslt/opendocument2xhtml.xsl"/>
+        <map:transform src="fallback://lenya/modules/opendocument/xslt/opendocument2xhtml.xsl">
+          <map:parameter name="rendertype" value="{1}"/>
+          <map:parameter name="nodeid" value="{page-envelope:document-name}"/>
+          <map:parameter name="language" value="{page-envelope:document-language}"/>
+        </map:transform>
         <map:serialize type="xml"/>
       </map:match>
 



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