package cow

  1. Overview
  2. Docs
type element = element Xml.frag
type t = element list
val doctype : string
val to_string : t -> string
val of_string : ?enc:Xml.encoding -> string -> t
val output : ?nl:bool -> ?indent:int option -> ?ns_prefix:(string -> string option) -> Xmlm.dest -> t -> unit
val output_doc : ?nl:bool -> ?indent:int option -> ?ns_prefix:(string -> string option) -> Xmlm.dest -> t -> unit
val a : ?hreflang:string -> ?rel: [ `alternate | `author | `bookmark | `help | `license | `next | `nofollow | `noreferrer | `prefetch | `prev | `search | `tag ] -> ?target:[ `Frame of string | `blank | `parent | `self | `top ] -> ?ty:string -> ?title:string -> ?cls:string -> href:Uri.t -> t -> element
val img : ?alt:string -> ?width:int -> ?height:int -> ?ismap:Uri.t -> ?title:string -> ?cls:string -> Uri.t -> element
val interleave : string array -> t list -> t list
val html_of_string : string -> t
val html_of_int : int -> t
val html_of_float : float -> t
type table = t array array
val html_of_table : ?headings:bool -> table -> t
val nil : t
val concat : t list -> t
val append : t -> t -> t
module Create : sig ... end
OCaml

Innovation. Community. Security.