Module type Xml_sigs.Pp
val pp : ?encode:(string -> string) -> ?indent:bool -> unit -> Stdlib.Format.formatter -> elt -> unitpp ()is aFormatprinter for untyped XML.It can be used in combination with
"%a". For example, to get a string:let s = Format.asprintf "%a" (pp ()) my_xmlA custom encoding function can be provided with the
~encodeargument. Various implementations ofencodeare available inXml_print.