<xsl:template name="mk_path">
<xsl:param name="rpath" select="@uri"/>
- <xsl:variable name="newrpath" select="substring-after($rpath, '/')"/>
+ <xsl:variable name="newrpath" select="substring-after($rpath,'/')"/>
<xsl:choose>
<xsl:when test="$newrpath">
<xsl:variable name="segment" select="substring-before($rpath,$newrpath)"/>
<xsl:with-param name="name" select="substring-before($segment,'/')"/>
</xsl:call-template>
<xsl:call-template name="mk_path">
- <xsl:with-param name="rpath" select="substring-after($rpath,'/')"/>
+ <xsl:with-param name="rpath" select="$newrpath"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>