]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/uwobo/uwobo_engine.mli
ocaml 3.09 transition
[helm.git] / helm / uwobo / uwobo_engine.mli
index 0631bdeed9a5ce29f436cd06e0e22552e747e766..407afab02b1ee605a8c736f35785d016f4079098 100644 (file)
  *  http://helm.cs.unibo.it/
  *)
 
+open Uwobo_common ;;
+
   (**
     @param logger logger for processing messages
     @param styles stylesheets object
     @param keys (ordered) list of stylesheet names to be applied
     @param params function mapping stylesheet names to parameters list
     @param props xml:output properties
+    @param errormode what to do with LibXSLT's error messages
+    @param debugmode what to do with LibXSLT's debugging messages
     @param input URI of input document
-    @param channel on which write final output
     @return a triple: 1st element is a function that takes an out_channel and
     write the result document on it, 2nd element is a string option representing
     the desired media-type, 3rd is a string option representing the desired
@@ -45,6 +48,8 @@ val apply:
   keys: string list ->
   params: (string -> (string * string) list) ->
   props: (string * string) list ->
-  input: Gdome.document ->
-  (out_channel -> unit) * string option * string option
+  veillogger: Uwobo_common.libXsltLogger ->
+  ?errormode: xslt_msg_mode -> ?debugmode: xslt_msg_mode ->
+  Gdome.document ->
+    ((out_channel -> unit) * string option * string option)