package tyxml

  1. Overview
  2. Docs

Parameters

module Xml : Xml_sigs.T
module Svg : sig ... end

Signature

module Xml : sig ... end
type uri = Xml.uri
val string_of_uri : uri -> string
val uri_of_string : string -> uri
type 'a attrib = Xml.attrib
val to_xmlattribs : 'a attrib list -> Xml.attrib list
val to_attrib : Xml.attrib -> 'a attrib
val a_autocomplete : [< `Off | `On ] -> [> `Autocomplete ] attrib
val a_async : [< `Async ] -> [> `Async ] attrib
val a_autofocus : [< `Autofocus ] -> [> `Autofocus ] attrib
val a_autoplay : [< `Autoplay ] -> [> `Autoplay ] attrib
val a_challenge : Html5_types.text -> [> `Challenge ] attrib
val a_contenteditable : [< `False | `True ] -> [> `Contexteditable ] attrib
val a_contextmenu : Html5_types.idref -> [> `Contextmenu ] attrib
val a_controls : [< `Controls ] -> [> `Controls ] attrib
val a_dir : [< `Ltr | `Rtl ] -> [> `Dir ] attrib
val a_draggable : [< `False | `True ] -> [> `Draggable ] attrib
val a_form : Html5_types.idref -> [> `Form ] attrib
val a_formaction : Xml.uri -> [> `Formaction ] attrib
val a_formenctype : Html5_types.contenttype -> [> `Formenctype ] attrib
val a_formmethod : [< `Delete | `Get | `Post | `Put ] -> [> `Formmethod ] attrib
val a_formnovalidate : [< `Formnovalidate ] -> [> `Formnovalidate ] attrib
val a_formtarget : Html5_types.text -> [> `Formtarget ] attrib
val a_hidden : [< `Hidden ] -> [> `Hidden ] attrib
val a_high : Html5_types.float_number -> [> `High ] attrib
val a_icon : Xml.uri -> [> `Icon ] attrib
val a_ismap : [< `Ismap ] -> [> `Ismap ] attrib
val a_keytype : Html5_types.text -> [> `Keytype ] attrib
val a_list : Html5_types.idref -> [> `List ] attrib
val a_loop : [< `Loop ] -> [> `Loop ] attrib
val a_low : Html5_types.float_number -> [> `High ] attrib
val a_max : Html5_types.float_number -> [> `Max ] attrib
val a_input_max : Html5_types.number -> [> `Max ] attrib
val a_min : Html5_types.float_number -> [> `Min ] attrib
val a_input_min : Html5_types.number -> [> `Min ] attrib
val a_novalidate : [< `Novalidate ] -> [> `Novalidate ] attrib
val a_open : [< `Open ] -> [> `Open ] attrib
val a_optimum : Html5_types.float_number -> [> `Optimum ] attrib
val a_pattern : Html5_types.text -> [> `Pattern ] attrib
val a_placeholder : Html5_types.text -> [> `Placeholder ] attrib
val a_poster : Xml.uri -> [> `Poster ] attrib
val a_preload : [< `Audio | `Metadata | `None ] -> [> `Preload ] attrib
val a_pubdate : [< `Pubdate ] -> [> `Pubdate ] attrib
val a_radiogroup : Html5_types.text -> [> `Radiogroup ] attrib
val a_required : [< `Required ] -> [> `Required ] attrib
val a_reversed : [< `Reversed ] -> [> `Reversed ] attrib
val a_sandbox : [< `AllowForms | `AllowSameOrigin | `AllowScript ] list -> [> `Sandbox ] attrib
val a_spellcheck : [< `False | `True ] -> [> `Spellcheck ] attrib
val a_scoped : [< `Scoped ] -> [> `Scoped ] attrib
val a_seamless : [< `Seamless ] -> [> `Seamless ] attrib
val a_sizes : Html5_types.numbers -> [> `Sizes ] attrib
val a_span : Html5_types.number -> [> `Span ] attrib
val a_srclang : Html5_types.nmtoken -> [> `XML_lang ] attrib
val a_start : Html5_types.number -> [> `Start ] attrib
val a_step : Html5_types.float_number -> [> `Step ] attrib
val a_wrap : [< `Hard | `Soft ] -> [> `Wrap ] attrib
val a_class : Html5_types.nmtokens -> [> `Class ] attrib
val a_user_data : Html5_types.nmtoken -> Html5_types.text -> [> `User_data ] attrib
val a_id : Html5_types.text -> [> `Id ] attrib
val a_title : Html5_types.text -> [> `Title ] attrib
val a_xml_lang : Html5_types.nmtoken -> [> `XML_lang ] attrib
val a_onabort : Xml.event_handler -> [> `OnAbort ] attrib
val a_onafterprint : Xml.event_handler -> [> `OnAfterPrint ] attrib
val a_onbeforeprint : Xml.event_handler -> [> `OnBeforePrint ] attrib
val a_onbeforeunload : Xml.event_handler -> [> `OnBeforeUnload ] attrib
val a_onblur : Xml.event_handler -> [> `OnBlur ] attrib
val a_oncanplay : Xml.event_handler -> [> `OnCanPlay ] attrib
val a_oncanplaythrough : Xml.event_handler -> [> `OnCanPlayThrough ] attrib
val a_onchange : Xml.event_handler -> [> `OnChange ] attrib
val a_onclick : Xml.event_handler -> [> `OnClick ] attrib
val a_oncontextmenu : Xml.event_handler -> [> `OnContextMenu ] attrib
val a_ondblclick : Xml.event_handler -> [> `OnDblClick ] attrib
val a_ondrag : Xml.event_handler -> [> `OnDrag ] attrib
val a_ondragend : Xml.event_handler -> [> `OnDragEnd ] attrib
val a_ondragenter : Xml.event_handler -> [> `OnDragEnter ] attrib
val a_ondragleave : Xml.event_handler -> [> `OnDragLeave ] attrib
val a_ondragover : Xml.event_handler -> [> `OnDragOver ] attrib
val a_ondragstart : Xml.event_handler -> [> `OnDragStart ] attrib
val a_ondrop : Xml.event_handler -> [> `OnDrop ] attrib
val a_ondurationchange : Xml.event_handler -> [> `OnDurationChange ] attrib
val a_onemptied : Xml.event_handler -> [> `OnEmptied ] attrib
val a_onended : Xml.event_handler -> [> `OnEnded ] attrib
val a_onerror : Xml.event_handler -> [> `OnError ] attrib
val a_onfocus : Xml.event_handler -> [> `OnFocus ] attrib
val a_onformchange : Xml.event_handler -> [> `OnFormChange ] attrib
val a_onforminput : Xml.event_handler -> [> `OnFormInput ] attrib
val a_onhashchange : Xml.event_handler -> [> `OnHashChange ] attrib
val a_oninput : Xml.event_handler -> [> `OnInput ] attrib
val a_oninvalid : Xml.event_handler -> [> `OnInvalid ] attrib
val a_onmousedown : Xml.event_handler -> [> `OnMouseDown ] attrib
val a_onmouseup : Xml.event_handler -> [> `OnMouseUp ] attrib
val a_onmouseover : Xml.event_handler -> [> `OnMouseOver ] attrib
val a_onmousemove : Xml.event_handler -> [> `OnMouseMove ] attrib
val a_onmouseout : Xml.event_handler -> [> `OnMouseOut ] attrib
val a_onmousewheel : Xml.event_handler -> [> `OnMouseWheel ] attrib
val a_onoffline : Xml.event_handler -> [> `OnOffLine ] attrib
val a_ononline : Xml.event_handler -> [> `OnOnLine ] attrib
val a_onpause : Xml.event_handler -> [> `OnPause ] attrib
val a_onplay : Xml.event_handler -> [> `OnPlay ] attrib
val a_onplaying : Xml.event_handler -> [> `OnPlaying ] attrib
val a_onpagehide : Xml.event_handler -> [> `OnPageHide ] attrib
val a_onpageshow : Xml.event_handler -> [> `OnPageShow ] attrib
val a_onpopstate : Xml.event_handler -> [> `OnPopState ] attrib
val a_onprogress : Xml.event_handler -> [> `OnProgress ] attrib
val a_onratechange : Xml.event_handler -> [> `OnRateChange ] attrib
val a_onreadystatechange : Xml.event_handler -> [> `OnReadyStateChange ] attrib
val a_onredo : Xml.event_handler -> [> `OnRedo ] attrib
val a_onresize : Xml.event_handler -> [> `OnResize ] attrib
val a_onscroll : Xml.event_handler -> [> `OnScroll ] attrib
val a_onseeked : Xml.event_handler -> [> `OnSeeked ] attrib
val a_onseeking : Xml.event_handler -> [> `OnSeeking ] attrib
val a_onselect : Xml.event_handler -> [> `OnSelect ] attrib
val a_onshow : Xml.event_handler -> [> `OnShow ] attrib
val a_onstalled : Xml.event_handler -> [> `OnStalled ] attrib
val a_onstorage : Xml.event_handler -> [> `OnStorage ] attrib
val a_onsubmit : Xml.event_handler -> [> `OnSubmit ] attrib
val a_onsuspend : Xml.event_handler -> [> `OnSuspend ] attrib
val a_ontimeupdate : Xml.event_handler -> [> `OnTimeUpdate ] attrib
val a_onundo : Xml.event_handler -> [> `OnUndo ] attrib
val a_onunload : Xml.event_handler -> [> `OnUnload ] attrib
val a_onvolumechange : Xml.event_handler -> [> `OnVolumeChange ] attrib
val a_onwaiting : Xml.event_handler -> [> `OnWaiting ] attrib
val a_onkeypress : Xml.event_handler -> [> `OnKeyPress ] attrib
val a_onkeydown : Xml.event_handler -> [> `OnKeyDown ] attrib
val a_onkeyup : Xml.event_handler -> [> `OnKeyUp ] attrib
val a_onload : Xml.event_handler -> [> `OnLoad ] attrib
val a_onloadeddata : Xml.event_handler -> [> `OnLoadedData ] attrib
val a_onloadedmetadata : Xml.event_handler -> [> `OnLoadedMetaData ] attrib
val a_onloadstart : Xml.event_handler -> [> `OnLoadStart ] attrib
val a_onmessage : Xml.event_handler -> [> `OnMessage ] attrib
val a_version : Html5_types.cdata -> [> `Version ] attrib
val a_xmlns : [< `W3_org_1999_xhtml ] -> [> `XMLns ] attrib
val a_manifest : Xml.uri -> [> `Manifest ] attrib
val a_cite : Xml.uri -> [> `Cite ] attrib
val a_xml_space : [< `Preserve ] -> [> `XML_space ] attrib
val a_accesskey : Html5_types.character -> [> `Accesskey ] attrib
val a_charset : Html5_types.charset -> [> `Charset ] attrib
val a_accept_charset : Html5_types.charsets -> [> `Accept_charset ] attrib
val a_accept : Html5_types.contenttypes -> [> `Accept ] attrib
val a_href : Xml.uri -> [> `Href ] attrib
val a_hreflang : Html5_types.languagecode -> [> `Hreflang ] attrib
val a_rel : Html5_types.linktypes -> [> `Rel ] attrib
val a_tabindex : Html5_types.number -> [> `Tabindex ] attrib
val a_mime_type : Html5_types.contenttype -> [> `Mime_type ] attrib
val a_datetime : Html5_types.cdata -> [> `Datetime ] attrib
val a_action : Xml.uri -> [> `Action ] attrib
val a_checked : [< `Checked ] -> [> `Checked ] attrib
val a_cols : Html5_types.number -> [> `Cols ] attrib
val a_enctype : Html5_types.contenttype -> [> `Enctype ] attrib
val a_for : Html5_types.idref -> [> `For ] attrib
val a_for_list : Html5_types.idrefs -> [> `For_List ] attrib
val a_maxlength : Html5_types.number -> [> `Maxlength ] attrib
val a_method : [< `Delete | `Get | `Post | `Put ] -> [> `Method ] attrib
val a_multiple : [< `Multiple ] -> [> `Multiple ] attrib
val a_name : Html5_types.text -> [> `Name ] attrib
val a_rows : Html5_types.number -> [> `Rows ] attrib
val a_selected : [< `Selected ] -> [> `Selected ] attrib
val a_size : Html5_types.number -> [> `Size ] attrib
val a_src : Xml.uri -> [> `Src ] attrib
val a_input_type : [< `Button | `Checkbox | `Color | `Date | `Datetime | `Datetime_local | `Email | `File | `Hidden | `Image | `Month | `Number | `Password | `Radio | `Range | `Reset | `Search | `Submit | `Tel | `Text | `Time | `Url | `Week ] -> [> `Input_Type ] attrib
val a_text_value : Html5_types.text -> [> `Text_Value ] attrib
val a_int_value : Html5_types.number -> [> `Int_Value ] attrib
val a_value : Html5_types.cdata -> [> `Value ] attrib
val a_float_value : Html5_types.float_number -> [> `Float_Value ] attrib
val a_disabled : [< `Disabled ] -> [> `Disabled ] attrib
val a_readonly : [< `ReadOnly ] -> [> `ReadOnly ] attrib
val a_button_type : [< `Button | `Reset | `Submit ] -> [> `Button_Type ] attrib
val a_command_type : [< `Checkbox | `Command | `Radio ] -> [> `Command_Type ] attrib
val a_menu_type : [< `Context | `Toolbar ] -> [> `Menu_Type ] attrib
val a_label : Html5_types.text -> [> `Label ] attrib
val a_align : [< `Char | `Justify | `Left | `Right ] -> [> `Align ] attrib
val a_axis : Html5_types.cdata -> [> `Axis ] attrib
val a_colspan : Html5_types.number -> [> `Colspan ] attrib
val a_headers : Html5_types.idrefs -> [> `Headers ] attrib
val a_rowspan : Html5_types.number -> [> `Rowspan ] attrib
val a_scope : [< `Col | `Colgroup | `Row | `Rowgroup ] -> [> `Scope ] attrib
val a_summary : Html5_types.text -> [> `Summary ] attrib
val a_border : Html5_types.pixels -> [> `Border ] attrib
val a_cellpadding : Html5_types.length -> [> `Cellpadding ] attrib
val a_cellspacing : Html5_types.length -> [> `Cellspacing ] attrib
val a_datapagesize : Html5_types.cdata -> [> `Datapagesize ] attrib
val a_rules : [< `All | `Cols | `Groups | `None | `Rows ] -> [> `Rules ] attrib
val a_char : Html5_types.character -> [> `Char ] attrib
val a_charoff : Html5_types.length -> [> `Charoff ] attrib
val a_alt : Html5_types.text -> [> `Alt ] attrib
val a_height : Html5_types.number -> [> `Height ] attrib
val a_width : Html5_types.number -> [> `Width ] attrib
type shape = [
  1. | `Circle
  2. | `Default
  3. | `Poly
  4. | `Rect
]
val a_shape : shape -> [> `Shape ] attrib
val a_coords : Html5_types.numbers -> [> `Coords ] attrib
val a_usemap : Html5_types.idref -> [> `Usemap ] attrib
val a_data : Xml.uri -> [> `Data ] attrib
val a_codetype : Html5_types.contenttype -> [> `Codetype ] attrib
val a_fs_rows : Html5_types.multilengths -> [> `FS_Rows ] attrib
val a_fs_cols : Html5_types.multilengths -> [> `FS_Cols ] attrib
val a_frameborder : [< `One | `Zero ] -> [> `Frameborder ] attrib
val a_marginheight : Html5_types.pixels -> [> `Marginheight ] attrib
val a_marginwidth : Html5_types.pixels -> [> `Marginwidth ] attrib
val a_scrolling : [< `Auto | `No | `Yes ] -> [> `Scrolling ] attrib
val a_target : Html5_types.frametarget -> [> `Target ] attrib
val a_content : Html5_types.text -> [> `Content ] attrib
val a_http_equiv : Html5_types.text -> [> `Http_equiv ] attrib
val a_defer : [< `Defer ] -> [> `Defer ] attrib
val a_media : Html5_types.mediadesc -> [> `Media ] attrib
val a_style : string -> [> `Style_Attr ] attrib
val a_property : string -> [> `Property ] attrib
type 'a elt = Xml.elt
type ('a, 'b) nullary = ?a:'a attrib list -> unit -> 'b elt
type ('a, 'b, 'c) unary = ?a:'a attrib list -> 'b elt -> 'c elt
type ('a, 'b, 'c, 'd) binary = ?a:'a attrib list -> 'b elt -> 'c elt -> 'd elt
type ('b, 'c, 'd, 'e) tri = 'b elt -> 'c elt -> 'd elt -> 'e elt
type ('a, 'b, 'c) star = ?a:'a attrib list -> 'b elt list -> 'c elt
type ('a, 'b, 'c) plus = ?a:'a attrib list -> 'b elt -> 'b elt list -> 'c elt
type html = [ `Html ] elt
type rt = [
  1. | `Rpt of [ `Rp ] elt * [ `Rt ] elt * [ `Rp ] elt
  2. | `Rt of [ `Rt ] elt
]
type ruby_content = Html5_types.phrasing elt list * rt
val html : ?a:Html5_types.html_attrib attrib list -> [< `Head ] elt -> [< `Body ] elt -> [> `Html ] elt
val head : ?a:Html5_types.head_attrib attrib list -> [< `Title ] elt -> Html5_types.head_content_fun elt list -> [> Html5_types.head ] elt
val svg : ?xmlns:string -> ?a:[< Html5_types.svg_attrib ] Svg.attrib list -> [< Html5_types.svg_content ] Svg.elt list -> [> Html5_types.svg ] elt
val header : ([< Html5_types.common ], [< Html5_types.flow5_without_header_footer ], [> `Header ]) star
val dl : ?a:[< Html5_types.common ] attrib list -> (([< `Dt ] elt * [< `Dt ] elt list) * ([< `Dd ] elt * [< `Dd ] elt list)) list -> [> `Dl ] elt
val figure : ?figcaption:[< `Figcaption ] elt -> ([< Html5_types.common ], [< Html5_types.flow5 ], [> `Figure ]) star
val rt : ?rp:(rp * rp) -> ?a:[< Html5_types.common ] attrib list -> [< Html5_types.phrasing ] elt list -> rt
val rp : ?a:[< Html5_types.common ] attrib list -> [< Html5_types.phrasing ] elt list -> rp
val ruby : ?a:[< Html5_types.common ] attrib list -> ruby_content -> ruby_content list -> [> `Ruby ] elt
val bdo : dir:[< `Ltr | `Rtl ] -> ([< Html5_types.common ], [< Html5_types.phrasing ], [> `Bdo ]) star
val a : ([< Html5_types.a_attrib ], 'a, [> `A of 'a ]) star
val del : ([< Html5_types.del_attrib ], 'a, [> `Del of 'a ]) star
val ins : ([< Html5_types.ins_attrib ], 'a, [> `Ins of 'a ]) star
val img : src:Xml.uri -> alt:Html5_types.text -> ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Draggable | `Height | `Hidden | `Id | `Ismap | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `Width | `XML_lang | `XMLns ], [> `Img ]) nullary
val iframe : ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Draggable | `Height | `Hidden | `Id | `Name | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Sandbox | `Seamless | `Spellcheck | `Src | `Style_Attr | `Tabindex | `Title | `User_data | `Width | `XML_lang | `XMLns ], [< `PCDATA ], [> `Iframe ]) star
val object_ : ?params:[< `Param ] elt list -> ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Data | `Dir | `Draggable | `Form | `Height | `Hidden | `Id | `Mime_type | `Name | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Spellcheck | `Style_Attr | `Tabindex | `Title | `Usemap | `User_data | `Width | `XML_lang | `XMLns ], 'a, [> `Object of 'a ]) star
val embed : ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Draggable | `Height | `Hidden | `Id | `Mime_type | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Spellcheck | `Src | `Style_Attr | `Tabindex | `Title | `User_data | `Width | `XML_lang | `XMLns ], [> `Embed ]) nullary
val audio : ?srcs:(Xml.uri * [< `Source ] elt list) -> ([< `Accesskey | `Autoplay | `Class | `Contenteditable | `Contextmenu | `Controls | `Dir | `Draggable | `Hidden | `Id | `Loop | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Preload | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ], 'a, [> `Audio of 'a ]) star
val video : ?srcs:(Xml.uri * [< `Source ] elt list) -> ([< `Accesskey | `Autoplay | `Class | `Contenteditable | `Contextmenu | `Controls | `Dir | `Draggable | `Height | `Hidden | `Id | `Loop | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Poster | `Preload | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `Width | `XML_lang | `XMLns ], 'a, [> `Video of 'a ]) star
val canvas : ([< Html5_types.canvas_attrib ], 'a, [> `Canvas of 'a ]) star
val area : alt:Html5_types.text -> ([< `Accesskey | `Alt | `Class | `Contenteditable | `Contextmenu | `Coords | `Dir | `Draggable | `Hidden | `Hreflang | `Id | `Media | `Mime_type | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Rel | `Shape | `Spellcheck | `Style_Attr | `Tabindex | `Target | `Title | `User_data | `XML_lang | `XMLns ], [> `Area ]) nullary
val map : ([< Html5_types.map_attrib ], 'a, [> `A of 'a ]) plus
val table : ?caption:[< `Caption ] elt -> ?columns:[< `Colgroup ] elt list -> ?thead:[< `Thead ] elt -> ?tfoot:[< `Tfoot ] elt -> ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Draggable | `Hidden | `Id | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Spellcheck | `Style_Attr | `Summary | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ], [< `Tr ], [> `Table ]) plus
val tablex : ?caption:[< `Caption ] elt -> ?columns:[< `Colgroup ] elt list -> ?thead:[< `Thead ] elt -> ?tfoot:[< `Tfoot ] elt -> ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Draggable | `Hidden | `Id | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Spellcheck | `Style_Attr | `Summary | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ], [< `Tbody ], [> `Table ]) star
val fieldset : ?legend:[ `Legend ] elt -> ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Disabled | `Draggable | `Form | `Hidden | `Id | `Name | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ], [< Html5_types.flow5 ], [> `Fieldset ]) star
val datalist : ?children: [< `Options of [< `Option ] elt list | `Phras of [< Html5_types.phrasing ] elt list ] -> ([< Html5_types.common ], [> `Datalist ]) nullary
val optgroup : label:Html5_types.text -> ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Disabled | `Draggable | `Hidden | `Id | `Label | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ], [< `Option ], [> `Optgroup ]) star
val pcdata : string -> [> `PCDATA ] elt
val entity : string -> [> `PCDATA ] elt
val space : unit -> [> `PCDATA ] elt
val cdata : string -> [> `PCDATA ] elt
val cdata_script : string -> [> `PCDATA ] elt
val cdata_style : string -> [> `PCDATA ] elt
val unsafe_data : string -> 'a elt
val details : [< `Summary ] elt -> ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Draggable | `Hidden | `Id | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Open | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ], [< Html5_types.flow5 ] elt, [> `Details ]) star
val command : label:Html5_types.text -> ([< `Accesskey | `Checked | `Class | `Command_Type | `Contenteditable | `Contextmenu | `Dir | `Disabled | `Draggable | `Hidden | `Icon | `Id | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Radiogroup | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ], [> `Command ]) nullary
val menu : ?child: [< `Flows of [< Html5_types.flow5 ] elt list | `Lis of [< `Li of [< Html5_types.common ] ] elt list ] -> ([< `Accesskey | `Class | `Contenteditable | `Contextmenu | `Dir | `Draggable | `Hidden | `Id | `Label | `Menu_Type | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnVolumeChange | `OnWaiting | `Spellcheck | `Style_Attr | `Tabindex | `Title | `User_data | `XML_lang | `XMLns ], [> `Menu ]) nullary
val tot : Xml.elt -> 'a elt
val totl : Xml.elt list -> 'a elt list
val toelt : 'a elt -> Xml.elt
val toeltl : 'a elt list -> Xml.elt list
type doc = [ `Html ] elt
val doc_toelt : doc -> Xml.elt
OCaml

Innovation. Community. Security.