+ <xsl:when test="$rvalue">
+ <xsl:value-of select="$rvalue"/> (<a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="concat('#',substring-after($resource, $base))"/>
+ </xsl:attribute>
+ <xsl:value-of select="substring-after($resource, $base)"/></a>)</xsl:when>