Module El.Low

Low level representation (unstable).

This representation may change even between minor versions of the library. Use at your own risk.

type t =
  1. | El of name * At.t list * t list
    (*

    Element, name attributes and children.

    *)
  2. | Txt of string
    (*

    Character data.

    *)
  3. | Splice of t option * t list
    (*

    List of parts, separated by an optional separator.

    *)
  4. | Raw of string
    (*

    Raw output string.

    *)

The low-level HTML fragment representation.

val of_html : html -> t

of_html h is a low-level representation for h.