Library
Module
Module type
Parameter
Class
Class type
XML combinators.
include module type of Xmlm
type attribute = name * string
val pp_dtd : Stdlib.Format.formatter -> dtd -> unit
val pp_name : Stdlib.Format.formatter -> name -> unit
val pp_attribute : Stdlib.Format.formatter -> attribute -> unit
val pp_tag : Stdlib.Format.formatter -> tag -> unit
val pp_signal : Stdlib.Format.formatter -> signal -> unit
val error_message : error -> string
val eoi : input -> bool
val output_depth : output -> int
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
.