Module type Xml_sigs.Typed_pp
val pp_elt : ?encode:(string -> string) -> ?indent:bool -> unit -> Stdlib.Format.formatter -> 'a elt -> unitpp_elt ()is aFormatprinter for individual elements.A custom encoding function can be provided with the
~encodeargument. Various implementations ofencodeare available inXml_print.
val pp : ?encode:(string -> string) -> ?indent:bool -> ?advert:string -> unit -> Stdlib.Format.formatter -> doc -> unitpp ()is aFormatprinter for complete documents.It can be used in combination with
"%a". For example, to get a string:let s = Format.asprintf "%a" (pp ()) my_documentA custom encoding function can be provided with the
~encodeargument. Various implementations ofencodeare available inXml_print.