<p>
Object <xsl:value-of select="$name"/> is never referenced in other objects
</p>
+ <xsl:apply-templates select="." mode="mk_dep_graph"/>
</xsl:template>
<xsl:template match="url" mode="makelink">
<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","meta_theory%2CT1%2CT2%2CL%2CE");
url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + RDFURI);
- document.write('<a target="theory" href="' + url + '">View the objects depending on ' + name + '.</a>');
+ document.write('<a target="theory" href="' + url + '">View the objects depending on it.</a>');
+]]>
+ </script>
+ </p>
+ <p>
+ <script>
+ var CICURI = "<xsl:value-of select="$CICURI"/>";
+<![CDATA[
+ document.write('<a target="graph" href="http://localhost:8083/draw?url=' +
+ escape('http://localhost:8080/helm/servlet/uwobo/apply?xmluri=http://localhost:8081/getxml%3Furi%3D' + RDFURI + '&keys=MMG¶m.getterURL=http%3A//localhost%3A8081/&prop.media-type=text/plain¶m.CICURI=' + CICURI) + '">View the graph of all the objects dependending on this one.</a>');
+]]>
+ </script>
+ </p>
+ <xsl:apply-templates select="." mode="mk_dep_graph"/>
+</xsl:template>
+
+<xsl:template match="*" mode="mk_dep_graph">
+ <p>
+ <script>
+ var CICURI = "<xsl:value-of select="$CICURI"/>";
+<![CDATA[
+ document.write('<a target="graph" href="http://localhost:8083/draw?url=' +
+ escape('http://localhost:8080/helm/servlet/uwobo/apply?xmluri=http://localhost:8081/getxml%3Furi%3D' + CICURI + '&keys=MDG¶m.getterURL=http%3A//localhost%3A8081/&prop.media-type=text/plain¶m.CICURI=' + CICURI) + '">View the graph of all the dependencies of this object.</a>');
]]>
</script>
</p>