tyxmlversion

TyXML is a library for building correct HTML and SVG documents

TyXML provides a set of convenient combinators that uses the OCaml type system to ensure the validity of the generated documents. TyXML can be used with any representation of HTML and SVG: the textual one, provided directly by this package, or DOM trees (js_of_ocaml-tyxml) virtual DOM (virtual-dom) and reactive or replicated trees (eliom). You can also create your own representation and use it to instantiate a new set of combinators.

open Tyxml
let to_ocaml = Html.(a ~a:[a_href "ocaml.org"] [txt "OCaml!"])
AuthorThe ocsigen team
LicenseLGPL-2.1-only WITH OCaml-LGPL-linking-exception
Published
Homepagehttps://github.com/ocsigen/tyxml/
Issue Trackerhttps://github.com/ocsigen/tyxml/issues
Maintainerdev@ocsigen.org
Dependencies
Source [http] https://github.com/ocsigen/tyxml/releases/download/4.3.0/tyxml-4.3.0.tbz
md5=fd834a567f813bf447cab5f4c3a723e2
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/tyxml/tyxml.4.3.0/opam