package tyxml

  1. Overview
  2. Docs
A library for building correct HTML and SVG documents

Install

Dune Dependency

Authors

Maintainers

Sources

tyxml-4.6.0.tbz
sha256=bfeb673c6b4e120a4eca4c48448add47dc3f8d02c2b40f63ffdccc4e91c902dd
sha512=69750eeaf467014282087bf9628f3278f3e5f00f4c7400358750d208664cfc3f79a5cba16767d2935e53477d1a6862fe08c5b801b69052ec12e09d1a93a5e9b4

doc/tyxml.functor/Svg_f/Make_with_wrapped_functions/Unsafe/index.html

Module Make_with_wrapped_functions.UnsafeSource

Unsafe features.

Using this module can break SVG validity and may introduce security problems like code injection. Use it with care.

Sourceval data : string wrap -> 'a elt

Insert raw text without any encoding

Sourceval node : string -> ?a:'a attrib list -> 'b elt list_wrap -> 'c elt

Insert an XML node that is not implemented in this module. If it is a standard SVG node which is missing, please report to the Ocsigen team.

Sourceval leaf : string -> ?a:'a attrib list -> unit -> 'b elt

Insert an XML node without children that is not implemented in this module. If it is a standard SVG node which is missing, please report to the Ocsigen team.

Sourceval coerce_elt : 'a elt -> 'b elt

Remove phantom type annotation on an element, to make it usable everywhere.

Sourceval string_attrib : string -> string wrap -> 'a attrib

Insert an attribute that is not implemented in this module. If it is a standard SVG attribute which is missing, please report to the Ocsigen team.

Sourceval float_attrib : string -> float wrap -> 'a attrib

Same, for float attribute

Sourceval int_attrib : string -> int wrap -> 'a attrib

Same, for int attribute

Sourceval uri_attrib : string -> uri wrap -> 'a attrib

Same, for URI attribute

Sourceval space_sep_attrib : string -> string list wrap -> 'a attrib

Same, for a space separated list of values

Sourceval comma_sep_attrib : string -> string list wrap -> 'a attrib

Same, for a comma separated list of values

OCaml

Innovation. Community. Security.