Module Tyxml_html.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.
Source
val string_attrib :
Tyxml_html.Xml.aname ->
string Tyxml_html.Xml.wrap ->
Tyxml_html.Xml.attribSource
val space_sep_attrib :
Tyxml_html.Xml.aname ->
string list Tyxml_html.Xml.wrap ->
Tyxml_html.Xml.attribSource
val comma_sep_attrib :
Tyxml_html.Xml.aname ->
string list Tyxml_html.Xml.wrap ->
Tyxml_html.Xml.attribSource
val event_handler_attrib :
Tyxml_html.Xml.aname ->
Tyxml_html.Xml.event_handler ->
Tyxml_html.Xml.attribSource
val mouse_event_handler_attrib :
Tyxml_html.Xml.aname ->
Tyxml_html.Xml.mouse_event_handler ->
Tyxml_html.Xml.attribSource
val keyboard_event_handler_attrib :
Tyxml_html.Xml.aname ->
Tyxml_html.Xml.keyboard_event_handler ->
Tyxml_html.Xml.attribSource
val touch_event_handler_attrib :
Tyxml_html.Xml.aname ->
Tyxml_html.Xml.touch_event_handler ->
Tyxml_html.Xml.attribSource
val uri_attrib :
Tyxml_html.Xml.aname ->
Tyxml_html.Xml.uri Tyxml_html.Xml.wrap ->
Tyxml_html.Xml.attribSource
val uris_attrib :
Tyxml_html.Xml.aname ->
Tyxml_html.Xml.uri list Tyxml_html.Xml.wrap ->
Tyxml_html.Xml.attribSource
val node :
?a:Tyxml_html.Xml.attrib list ->
Tyxml_html.Xml.ename ->
Tyxml_html.Xml.elt Tyxml_html.Xml.list_wrap ->
Tyxml_html.Xml.elt