You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@jakarta.apache.org by vg...@apache.org on 2007/03/07 16:35:28 UTC
svn commit: r515612 - /jakarta/site/xdocs/stylesheets/site.xsl
Author: vgritsenko
Date: Wed Mar 7 07:35:28 2007
New Revision: 515612
URL: http://svn.apache.org/viewvc?view=rev&rev=515612
Log:
add parameter for site.xml path
Modified:
jakarta/site/xdocs/stylesheets/site.xsl
Modified: jakarta/site/xdocs/stylesheets/site.xsl
URL: http://svn.apache.org/viewvc/jakarta/site/xdocs/stylesheets/site.xsl?view=diff&rev=515612&r1=515611&r2=515612
==============================================================================
--- jakarta/site/xdocs/stylesheets/site.xsl (original)
+++ jakarta/site/xdocs/stylesheets/site.xsl Wed Mar 7 07:35:28 2007
@@ -30,11 +30,13 @@
<!-- Defined parameters (overrideable) -->
<xsl:param name="relative-path" select="'.'"/>
+ <xsl:param name="sitenav-path" select="'site.xml'"/>
+
<!-- Defined variables (non-overrideable) -->
<!-- Process an entire document into an HTML page -->
<xsl:template match="document">
- <xsl:variable name="site" select="document('site.xml')/site"/>
+ <xsl:variable name="site" select="document($sitenav-path)/site"/>
<xsl:variable name="encoding" select="properties/encoding"/>
<html>
<head>
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: site-cvs-help@jakarta.apache.org