avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject svn commit: rev 21306 - avalon/trunk/central/system/themes/modern/html
Date Tue, 15 Jun 2004 19:35:00 GMT
Author: niclas
Date: Tue Jun 15 12:35:00 2004
New Revision: 21306

Modified:
   avalon/trunk/central/system/themes/modern/html/transform.xsl
Log:
Fixed so Absolute path in <a> works.

Modified: avalon/trunk/central/system/themes/modern/html/transform.xsl
==============================================================================
--- avalon/trunk/central/system/themes/modern/html/transform.xsl	(original)
+++ avalon/trunk/central/system/themes/modern/html/transform.xsl	Tue Jun 15 12:35:00 2004
@@ -166,7 +166,7 @@
       <xsl:choose>
         <!-- Test if a root reference -->
         <xsl:when test="substring( @href, 1, 1 ) = '/'" >
-          <xsl:attribute name="href"><xsl:value-of select="concat( $relativepath,
@href)" /></xsl:attribute>
+          <xsl:attribute name="href"><xsl:value-of select="concat( $relativepath[position()
= last()], @href)" /></xsl:attribute>
         </xsl:when>
         <xsl:otherwise>
           <xsl:attribute name="href"><xsl:value-of select="@href" /></xsl:attribute>

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message