You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2010/07/23 18:46:22 UTC
svn commit: r967162 - /pivot/site/trunk/xsl/html.xsl
Author: tvolkert
Date: Fri Jul 23 16:46:22 2010
New Revision: 967162
URL: http://svn.apache.org/viewvc?rev=967162&view=rev
Log:
Fixed bug in site generation
Modified:
pivot/site/trunk/xsl/html.xsl
Modified: pivot/site/trunk/xsl/html.xsl
URL: http://svn.apache.org/viewvc/pivot/site/trunk/xsl/html.xsl?rev=967162&r1=967161&r2=967162&view=diff
==============================================================================
--- pivot/site/trunk/xsl/html.xsl (original)
+++ pivot/site/trunk/xsl/html.xsl Fri Jul 23 16:46:22 2010
@@ -26,8 +26,8 @@ limitations under the License.
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<!-- Absolute URL (not fully qualified) to the project root -->
+ <xsl:variable name="tmp" select="substring-after($project/@href, 'http://')"/>
<xsl:variable name="root">
- <xsl:variable name="tmp" select="substring-after($project/@href, 'http://')"/>
<xsl:text>/</xsl:text>
<xsl:value-of select="substring-after($tmp, '/')"/>
</xsl:variable>