+<!-- CSC: Wrong: we assume that no '.body' can appear in the middle of the URI -->
+<xsl:variable name="BaseCICURI">
+ <xsl:variable name="res" select="substring-before($CICURI,'.body')"/>
+ <xsl:choose>
+ <xsl:when test="$res = ''">
+ <xsl:value-of select="$CICURI"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$res"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:variable>