package coqide-server

  1. Overview
  2. Docs

Module Xml_printerSource

Sourcetype t
Sourcetype target =
  1. | TChannel of out_channel
  2. | TBuffer of Buffer.t
Sourceval make : target -> t
Sourceval print : t -> xml -> unit

Print the xml data structure to a source into a compact xml string (without any user-readable formatting ).

Sourceval to_string : xml -> string

Print the xml data structure into a compact xml string (without any user-readable formatting ).

Sourceval to_string_fmt : xml -> string

Print the xml data structure into an user-readable string with tabs and lines break between different nodes.

Sourceval pcdata_to_string : string -> string

Print PCDATA as a string by escaping XML entities.

OCaml

Innovation. Community. Security.