jon.recoil.org

Module Tyxml_svg.Xml

Underlying XML data-structure

The type variables in elt and attrib are know as phantom types. The implementation, defined here, is actually monomorphic.

In particular, tyxml doesn't impose any overhead over the underlying representation. The tot and toelt functions allows to convert between the typed and the untyped representation without any cost.

Note that some implementation may not be iterable or printable, such as the Dom representation exposed by js_of_ocaml.

Sourcetype 'a wrap = 'a W.t
Sourcetype 'a list_wrap = 'a W.tlist
Sourceval string_of_uri : (Tyxml_svg.Xml.uri, string) W.ft
Sourceval uri_of_string : (string, Tyxml_svg.Xml.uri) W.ft
Sourcetype aname = string
Sourcetype event_handler = Tyxml_xml.event_handler
Sourcetype mouse_event_handler = Tyxml_xml.mouse_event_handler
Sourcetype keyboard_event_handler = Tyxml_xml.keyboard_event_handler
Sourcetype touch_event_handler = Tyxml_xml.touch_event_handler
Sourceval space_sep_attrib : Tyxml_svg.Xml.aname -> string list Tyxml_svg.Xml.wrap -> Tyxml_svg.Xml.attrib
Sourceval comma_sep_attrib : Tyxml_svg.Xml.aname -> string list Tyxml_svg.Xml.wrap -> Tyxml_svg.Xml.attrib
Sourcetype ename = string
Sourceval empty : unit -> Tyxml_svg.Xml.elt
Sourceval comment : string -> Tyxml_svg.Xml.elt
Sourceval encodedpcdata : string Tyxml_svg.Xml.wrap -> Tyxml_svg.Xml.elt
Sourceval entity : string -> Tyxml_svg.Xml.elt
Sourceval cdata : string -> Tyxml_svg.Xml.elt
Sourceval cdata_script : string -> Tyxml_svg.Xml.elt
Sourceval cdata_style : string -> Tyxml_svg.Xml.elt