+ document.write('<a target="theory" href="' + url + '">View the objects depending on it.</a>');
+]]>
+ </script>
+ </p>
+ <p>
+ <script>
+ var RDFURI = "<xsl:value-of select="$RDFURI"/>";
+ var getterURL = "<xsl:value-of select="$getterURL"/>";
+ var draw_graphURL = "<xsl:value-of select="$draw_graphURL"/>";
+<![CDATA[
+ var url = setParam(location.href,"keys","MMG");
+ url = setParam(url,"xmluri", getterURL + 'getxml%3Furi%3D' + RDFURI);
+ url = draw_graphURL + 'draw?url=' + escape(url);
+ var url2 = setParam(location.href,"keys","ML2,RT");
+ url2 = setParam(url2,"xmluri",escape(url));
+ document.write('<a target="graph" href="' + url2 + '">View the graph of all the objects depending 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"/>";
+ var getterURL = "<xsl:value-of select="$getterURL"/>";
+ var draw_graphURL = "<xsl:value-of select="$draw_graphURL"/>";
+<![CDATA[
+ var url = setParam(location.href,"keys","MDG");
+ url = setParam(url,"xmluri", getterURL + 'getxml%3Furi%3D' + CICURI);
+ url = draw_graphURL + 'draw?url=' + escape(url);
+ var url2 = setParam(location.href,"keys","ML2,RT");
+ url2 = setParam(url2,"xmluri",escape(url));
+ document.write('<a target="graph" href="' + url2 + '">View the graph of all the dependencies of this object.</a>');