]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/test_parser.ml
*** empty log message ***
[helm.git] / helm / ocaml / cic_notation / test_parser.ml
index dc76884aca4d2d8d69733b6cf1f9f5c9220437eb..1ad6b924a381bfad0d7aff197aa1b479405ca960 100644 (file)
@@ -39,7 +39,9 @@ let dump_xml t id_to_uri fname =
   prerr_endline (sprintf "dumping MathML to %s ..." fname);
   flush stdout;
   let oc = open_out fname in
-  Xml.pp_to_outchan (CicNotationPres.render_to_boxml id_to_uri t) oc;
+  let markup = CicNotationPres.render id_to_uri t in
+  let xml_stream = CicNotationPres.print_xml markup in
+  Xml.pp_to_outchan xml_stream oc;
   close_out oc
 
 let extract_loc =