Library
Module
Module type
Parameter
Class
Class type
XML combinators.
include module type of Xmlm
type attribute = name * string
val pp_dtd : Format.formatter -> dtd -> unit
val pp_name : Format.formatter -> name -> unit
val pp_attribute : Format.formatter -> attribute -> unit
val pp_tag : Format.formatter -> tag -> unit
val pp_signal : Format.formatter -> signal -> unit
val error_message : error -> string
val eoi : input -> bool
val output_depth : output -> int
type std_buffer = Buffer.t
module type String = sig ... end
module type Buffer = sig ... end
module type S = sig ... end
val to_string : ?decl:bool -> t -> string
of_string s
returns the XML tree described by s
.
val empty : t
empty
is the empty XML fragment.
val string : string -> t
string s
is the XML fragment s
.
val int : int -> t
int i
is the XML fragment i
.
val float : float -> t
float f
is the XML fragment f
.
tago k v
is k v
if v
is not None
, otherwise it's empty
.