load_xml.mli 380 Bytes
Newer Older
1
val load_xml: ?ns:bool -> string -> Value.t
2 3
val load_xml_subst: ?ns:bool -> string -> 
  (Ns.Uri.t * Ns.Uri.t) list -> Value.t
4
val load_html: string -> Value.t
5 6 7 8


(* To define and register a parser *)

9
val xml_parser: (string -> unit) ref
10 11 12 13 14

val start_element_handler : string -> (string * string) list -> unit
val end_element_handler : 'a -> unit
val text_handler : string -> unit