]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/theory_content.xsl
...
[helm.git] / helm / style / theory_content.xsl
index 4eae86957e66b3c80d60252e036b182e83215375..d6ccafb4fa9f01123fe3a63e0354d4ede3951b81 100644 (file)
     </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"/>
+     <xsl:attribute name="uri"><xsl:value-of select="$uri"/></xsl:attribute>
+    </xsl:copy>
+</xsl:template>
+
 <!-- Root and XHTML -->
 
 <xsl:template match = "/|*">