]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/link.xsl
Control frame added to CIC window
[helm.git] / helm / style / link.xsl
index 3e3dc8c2009a00e54d0021a78d2033ec36af343b..d5af006e1d72e3b2dc5ada821b1639d0c9fb5964 100644 (file)
       <xsl:with-param name="uri" select="@xlink:href"/>
      </xsl:call-template>
     </xsl:attribute>
+    <xsl:attribute name="xlink:show">other</xsl:attribute>
+    <!-- xlink:show='other' requires the exact modality to be -->
+    <!-- specified in non-xlink markup. The point is that the -->
+    <!-- element is already MathML ==> we can't add other     -->
+    <!-- markup without introducing another new namespace.    -->
+    <!-- So, for now no markup is used.                       -->
     <xsl:apply-templates/>
  </xsl:copy>
 </xsl:template>
 
+<!-- _top to refresh the whole frameset (avoids the matrioska effect ;-) -->
 <xsl:template match="a[@href]">
    <xsl:copy>
     <xsl:copy-of select="@*"/> 
@@ -56,6 +63,7 @@
       <xsl:with-param name="uri" select="@href"/>
      </xsl:call-template>
     </xsl:attribute>
+    <xsl:attribute name="target">cic</xsl:attribute>
     <xsl:apply-templates/>
    </xsl:copy>
 </xsl:template>