package plist-xml
Module Plist_xmlSource
This library references the Markup.ml library. See also the documentation for that library.
Source
type t = [ | `Bool of bool| `Data of string| `Date of float * float option(*(timestamp, timezone)
*)| `Float of float| `Int of int| `String of string| `Array of t list(*Array
*)| `Dict of (string * t) list(*Dictionary
*)
]Plist values.
Convert a plist into XML signals.
Exception raised upon a parse error. The error message is purely informational and you should not pattern match on it, as it is subject to change.
Create a plist parser given an I/O implementation, such as synchronous I/O or Lwt.
include S with type s := Markup.sync and type 'a io := 'a
Raises Parse_error upon failure.
Source
val parse_exn :
?report:(Markup.location -> Markup.Error.t -> unit) ->
?encoding:Markup.Encoding.t ->
?namespace:(string -> string option) ->
?entity:(string -> string option) ->
?context:[< `Document | `Fragment ] ->
(char, Markup.sync) Markup.stream ->
tRaises Parse_error upon failure. See documentation for Markup.parse_xml for labeled parameter information.