-function mkRDFURI(uri)
+function mkBackwardRDFURI(uri)
{
var prefix = "helm:rdf:www.cs.unibo.it/helm/rdf/backward//";
var re1 = /#xpointer\(1\/(\d+)\/(\d+)\)/;
}
-// (use_rdf_uri==true) if the stylesheet must be applied to the
-// metadata; (use_rdf_uri==false) otherwise
-function mkGraphURL(uri,keys,use_rdf_uri)
+function mkGraphURL(uri,keys)
{
var getterURL = unescape(getParam("param.getterURL"));
var draw_graphURL = unescape(getParam("param.draw_graphURL"));
var url= setParam(location.href,"keys",keys);
- var rdfuri = mkRDFURI(uri);
- url = setParam(url,"xmluri", getterURL + 'getxml%3Furi%3D' +
- (use_rdf_uri ? rdfuri : removeXPointer(uri)));
+ url = setParam(url,"xmluri", getterURL + 'getempty');
url = setParam(url,"param.CICURI",escape(uri));
var uri_set_size = document.uri_set_size.elements[0].value;
url = setParam(url,"param.uri_set_size",uri_set_size);
function mkDepURL(uri)
{
- return mkGraphURL(uri,"MDG",0);
+ return mkGraphURL(uri,"MDG");
}
function mkMetaURL(uri)
{
- return mkGraphURL(uri,"MMG",1);
+ return mkGraphURL(uri,"MMG");
}
function mkCICURL(uri)
function mkMetaTheoryURL(uri)
{
- var rdfuri = mkRDFURI(uri);
+ var rdfuri = mkBackwardRDFURI(uri);
var getterURL = getParam("param.getterURL");
var url = setParam(location.href,"keys","meta_theory," + unescape(getTheoryKeys()));
url = setParam(url,"xmluri", getterURL + "getxml%3Furi%3D" + rdfuri);