package SZXX

  1. Overview
  2. Docs

For those who want finer-grained control and want to parse (using Angstrom) and fold (using this module) by hand.

type partial_text =
  1. | Standard of string
  2. | Literal of string
val sexp_of_partial_text : partial_text -> Sexplib0.Sexp.t
val compare_partial_text : partial_text -> partial_text -> int
val equal_partial_text : partial_text -> partial_text -> bool
type partial = {
  1. tag : string;
  2. tag_hash : int;
  3. attrs : DOM.attr_list;
  4. text : partial_text list;
  5. children : DOM.element list;
  6. staged : DOM.element list;
}
val sexp_of_partial : partial -> Sexplib0.Sexp.t
val compare_partial : partial -> partial -> int
val equal_partial : partial -> partial -> bool
module To_DOM : sig ... end

Assemble a sequence of SAX.node "events" into a classic XML document

module Stream : sig ... end

Assemble a sequence of SAX.node "events" into a "shallow DOM" while streaming out the children matching a certain path. Those children aren't added to the DOM (hence "shallow").

OCaml

Innovation. Community. Security.