X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Finterface%2FxsltProcessorHTTP.ml;h=d8f5b057ead0c7daa2a2851743a482d02e61a6f0;hb=faf311442f59ccbc652c7965d23ed2945fd40906;hp=ed26724cad6cc4116f46b9ed9f0f1afd20cca05d;hpb=c06d7ae216653045f6c4f2cc6ca5198e35003ab1;p=helm.git diff --git a/helm/interface/xsltProcessorHTTP.ml b/helm/interface/xsltProcessorHTTP.ml index ed26724ca..d8f5b057e 100644 --- a/helm/interface/xsltProcessorHTTP.ml +++ b/helm/interface/xsltProcessorHTTP.ml @@ -38,11 +38,14 @@ let initialize () = let process uri usecache mode = let uri = UriManager.string_of_uri uri in - let url = Configuration.getter_url ^ "get?uri=" ^ uri in - let key_list = StyleConfiguration.key_list_of_mode_name mode in - let string_to_send = Configuration.processor_url ^ "apply?xmluri=" ^ url ^ + let url = Configuration.getter_url ^ "getxml?uri=" ^ uri in + let first_key::key_list = StyleConfiguration.key_list_of_mode_name mode in + let string_to_send = + Configuration.processor_url ^ "apply?xmluri=" ^ url ^ + "¶m.getterURL=" ^ Configuration.getter_url ^ + "&keys=" ^ first_key ^ (List.fold_right - (fun key cmd -> "&key=" ^ key ^ cmd) + (fun key cmd -> "," ^ key ^ cmd) key_list "" )