Basic types and values
type dtd = string optionval ns_xml : stringval ns_xmlns : stringInput
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 -> inputval eoi : input -> boolOutput
val make_output : ?decl:bool -> ?nl:bool -> ?indent:int option -> ?ns_prefix:(string -> string option) -> dest -> outputval output_depth : output -> int