val source_with_encoding : src:string -> encoding:string option -> Xmlm.inputtype expected = | XmlStartSequence of string * string option| XmlEndSequence of string * string option| XmlStartElement of string * string option| XmlElementData of string * string option| XmlEndElement of string * string option| XmlDtd| XmlOneOfElement of string list
val pp_expected :
Ppx_deriving_runtime.Format.formatter ->
expected ->
Ppx_deriving_runtime.unitval show_expected : expected -> Ppx_deriving_runtime.stringexception XmlParse of Xmlm.errorexception XmlUnexpectedConstruct of expected * Xmlm.signal * posexception XmlMissingElement of string * postype error = | XmlParseError of string
val error_to_string : error -> stringval pos_to_string : (int * int) -> stringval signal_to_string :
[< `Data of 'a | `Dtd of 'b | `El_end | `El_start of 'c ] ->
stringval tag_equal :
Stdlib.String.t ->
Stdlib.String.t option ->
((Stdlib.String.t * Stdlib.String.t) * 'a) ->
boolmodule Read : sig ... endval required : string -> 'a option -> Xmlm.input -> 'aval run : (unit -> 'a) -> ('a, error) Stdlib.result