val to_list : (unit -> Pxp_types.event option) -> Pxp_types.event list
val of_list : Pxp_types.event list -> unit -> Pxp_types.event option
val concat : (unit -> Pxp_types.event option) list -> unit -> Pxp_types.event option
val iter : (Pxp_types.event -> unit) -> (unit -> Pxp_types.event option) -> unit
type pull_fn
= unit -> Pxp_types.event option
type filter
= pull_fn -> pull_fn
val norm_cdata_filter : filter
val drop_ignorable_whitespace_filter : filter
val pfilter : (Pxp_types.event -> bool) -> filter
val unwrap_document : pull_fn -> (unit -> string * Pxp_dtd.dtd) * pull_fn
val namespace_split : string -> string * string
type dtd_style
= [
| `Ignore |
| `Include |
| `Reference |
]
val write_events : ?default:string -> ?dtd_style:dtd_style -> ?minimization:[ `AllEmpty | `None ] -> Pxp_types.output_stream -> Pxp_types.encoding -> Pxp_types.rep_encoding -> (unit -> Pxp_types.event option) -> unit
val display_events : ?dtd_style:dtd_style -> ?minimization:[ `AllEmpty | `None ] -> Pxp_types.output_stream -> Pxp_types.encoding -> Pxp_types.rep_encoding -> (unit -> Pxp_types.event option) -> unit
val string_of_event : Pxp_types.event -> string