syslogger#log `Debug (sprintf "Parsing input document %s ..." xmluri);
let domImpl = Gdome.domImplementation () in
let input = domImpl#createDocumentFromURI ~uri:xmluri () in
+ syslogger#log `Debug "Applying stylesheet chain ...";
let output =
- Uwobo_engine.apply ~logger ~styles ~keys ~input ~params ~props
+ Uwobo_engine.apply
+ ~logger:syslogger ~styles ~keys ~input ~params ~props
(* TODO uhm ... what to do if Uwobo_failure is raised? *)
in
- syslogger#log `Debug logger#asText;
+(* syslogger#log `Debug logger#asText; *)
let tempfile = (* temporary file on which save XML output *)
(* TODO I don't need a tempfile, but gdome seems not to permit to
return the string representation of a Gdome.document *)