]> matita.cs.unibo.it Git - helm.git/commitdiff
first steps towards new interface with UWOBo and new stylesheets
authorLuca Padovani <luca.padovani@unito.it>
Tue, 3 Apr 2001 09:44:28 +0000 (09:44 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Tue, 3 Apr 2001 09:44:28 +0000 (09:44 +0000)
helm/interface/xsltProcessorHTTP.ml

index 92888ed74eec017d727d675f256d1dd66f839d72..d8f5b057ead0c7daa2a2851743a482d02e61a6f0 100644 (file)
@@ -38,13 +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 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 ^
   "&param.getterURL=" ^ Configuration.getter_url ^
+  "&keys=" ^ first_key ^
   (List.fold_right
-   (fun key cmd -> "&key=" ^ key ^ cmd)
+   (fun key cmd -> "," ^ key ^ cmd)
     key_list
     ""
    )