Basic types and values
type dtd = string option
val ns_xml : string
val ns_xmlns : string
Input
type error = [
| `Max_buffer_size |
| `Unexpected_eoi |
| `Malformed_char_stream |
| `Unknown_encoding of string |
| `Unknown_entity_ref of string |
| `Unknown_ns_prefix of string |
| `Illegal_char_ref of string |
| `Illegal_char_seq of string |
| `Expected_char_seqs of string list * string |
| `Expected_root_element |
]
val make_input : ?enc:encoding option -> ?strip:bool -> ?ns:(string -> string option) -> ?entity:(string -> string option) -> source -> input
val eoi : input -> bool
Output
val make_output : ?decl:bool -> ?nl:bool -> ?indent:int option -> ?ns_prefix:(string -> string option) -> dest -> output
val output_depth : output -> int