You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2006/04/28 13:59:29 UTC

svn commit: r397876 - /lenya/trunk/src/modules/opendocument/xslt/opendocument2xhtml.xsl

Author: michi
Date: Fri Apr 28 04:59:28 2006
New Revision: 397876

URL: http://svn.apache.org/viewcvs?rev=397876&view=rev
Log:
link to ODT added

Modified:
    lenya/trunk/src/modules/opendocument/xslt/opendocument2xhtml.xsl

Modified: lenya/trunk/src/modules/opendocument/xslt/opendocument2xhtml.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/opendocument/xslt/opendocument2xhtml.xsl?rev=397876&r1=397875&r2=397876&view=diff
==============================================================================
--- lenya/trunk/src/modules/opendocument/xslt/opendocument2xhtml.xsl (original)
+++ lenya/trunk/src/modules/opendocument/xslt/opendocument2xhtml.xsl Fri Apr 28 04:59:28 2006
@@ -8,17 +8,18 @@
   xmlns:xlink="http://www.w3.org/1999/xlink"
 >
 <xsl:import href="fallback://lenya/modules/opendocument/xslt/common/odt_to_xhtml.xsl"/>
-<!-- default parameter value -->
-<xsl:param name="rendertype" select="''"/>
 
+<!-- default parameter value -->
+<xsl:param name="rendertype" select="'null'"/>
 <xsl:param name="language" select="'none'"/>
+<xsl:param name="nodeid" select="'null'"/>
 
 <xsl:template match="office:document-content">
   <div id="body">
 <!--
 Language: <xsl:value-of select="$language"/>
 -->
-    <h1>OpenDocument Content (content.xml)</h1>
+    <h1>OpenDocument Content (<a href="{$nodeid}.odt">ODT</a>)</h1>
     <xsl:apply-templates select="office:body/office:text"/>
   </div>
 </xsl:template>



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