+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:subst="http://www.cs.unibo.it/helm/subst">
+
+<xsl:param name="CICURI" select="''"/>
+<xsl:param name="getterURL" select="''"/>
+
+<xsl:template match="/">
+ <html>
+ <head>
+ <subst:script language="JavaScript" src="/javascript/defaults.js"/>
+ <subst:script language="JavaScript" src="/javascript/utils.js"/>
+ <subst:script language="JavaScript" src="/javascript/control.js"/>
+ <title>Metadata of <xsl:value-of select="$CICURI"/></title>
+ </head>
+ <body bgColor="white">
+ <h1>Metadata of <xsl:value-of select="$CICURI"/></h1>
+ <xsl:apply-templates select="*"/>
+ </body>
+ </html>
+</xsl:template>
+
+<xsl:template match="/" mode="makelink">
+ <xsl:param name="name" select="''"/>
+ <xsl:param name="RDFURI" select="''"/>
+ <xsl:apply-templates select="*" mode="makelink">
+ <xsl:with-param name="name" select="$name"/>
+ <xsl:with-param name="RDFURI" select="$RDFURI"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="unresolved" mode="makelink">
+ <xsl:param name="name" select="''"/>
+ <p>
+ Object <xsl:value-of select="$name"/> is never referenced in other objects
+ </p>
+</xsl:template>
+
+<xsl:template match="url" mode="makelink">
+ <xsl:param name="name" select="''"/>
+ <xsl:param name="RDFURI" select="''"/>
+ <p>
+ <script>
+ var name = "<xsl:value-of select="$name"/>";
+ var RDFURI = "<xsl:value-of select="$RDFURI"/>";
+ var getterURL = "<xsl:value-of select="$getterURL"/>";
+<![CDATA[
+ //url = setParam(url,"keys",getCICMathMLKeys());
+ var url = setParam(location.href,"keys","mth");
+ url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + RDFURI);
+ document.write('<a href="' + url + '">View the objects depending on ' + name + '.</a>');
+]]>
+ </script>
+ </p>
+</xsl:template>
+
+</xsl:stylesheet>