- <!-- CSC: 'name' is now equal to 'uri' but for the final extension -->
- <xsl:attribute name="name"><xsl:value-of select="substring-before($uri,".")"/></xsl:attribute>
+ <xsl:attribute name="uri"><xsl:value-of select="$uri"/></xsl:attribute>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="ht:OBJECT">
+<xsl:param name="current_uri" select="''"/>
+<xsl:param name="delim" select="''"/>
+<xsl:variable name="uri" select="concat(string($current_uri),$delim,string(@uri))"/>
+ <xsl:copy>
+ <xsl:copy-of select="@mode"/>