package erm_xml

  1. Overview
  2. Docs
type data = XmlStanza(IterMonad).data =
  1. | StartTag of string * (string * string) list * bool
  2. | EndTag of string
  3. | Doctype of Xmllexer_generic.doctype
  4. | PI of string * string
  5. | Text of string
type token = data option
type 'a t = 'a IterMonad.t
val emit_start_tag : string -> (string * string) list -> bool -> data option IterMonad.t
val emit_end_tag : string -> data option IterMonad.t
val emit_doctype : Xmllexer_generic.doctype -> data option IterMonad.t
val emit_pi : string -> string -> data option IterMonad.t
val emit_text : string -> data option IterMonad.t
val emit_eof : unit -> 'a option IterMonad.t
OCaml

Innovation. Community. Security.