Module Eliom_content.Xml
Low-level XML manipulation.
Base functions
See Xml_sigs.Iterable.
include Xml_sigs.Iterable
with type 'a wrap = 'a
and type 'a list_wrap = 'a list
and type event_handler =
(Js_of_ocaml.Dom_html.event Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.t
and type mouse_event_handler =
(Js_of_ocaml.Dom_html.mouseEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.t
and type keyboard_event_handler =
(Js_of_ocaml.Dom_html.keyboardEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.t
and type touch_event_handler =
(Js_of_ocaml.Dom_html.touchEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.t
include Xml_sigs.NoWrap
with type 'a wrap = 'a
with type 'a list_wrap = 'a list
with type event_handler =
(Js_of_ocaml.Dom_html.event Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.t
with type mouse_event_handler =
(Js_of_ocaml.Dom_html.mouseEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.t
with type keyboard_event_handler =
(Js_of_ocaml.Dom_html.keyboardEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.t
with type touch_event_handler =
(Js_of_ocaml.Dom_html.touchEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.t
module W = Xml_wrap.NoWraptype 'a wrap = 'atype 'a list_wrap = 'a listtype uritype aname = stringtype event_handler =
(Js_of_ocaml.Dom_html.event Js_of_ocaml.Js.t -> unit) Eliom_client_value.ttype mouse_event_handler =
(Js_of_ocaml.Dom_html.mouseEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.ttype keyboard_event_handler =
(Js_of_ocaml.Dom_html.keyboardEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.ttype touch_event_handler =
(Js_of_ocaml.Dom_html.touchEvent Js_of_ocaml.Js.t ->
unit)
Eliom_client_value.ttype attribval event_handler_attrib : aname -> event_handler -> attribval mouse_event_handler_attrib : aname -> mouse_event_handler -> attribval keyboard_event_handler_attrib : aname -> keyboard_event_handler -> attribval touch_event_handler_attrib : aname -> touch_event_handler -> attribtype elttype ename = stringval empty : unit -> eltval comment : string -> eltval entity : string -> eltval cdata : string -> eltval cdata_script : string -> eltval cdata_style : string -> elttype separator = | Space| Comma
type acontent = private | AFloat of float| AInt of int| AStr of string| AStrL of separator * string list
Unique nodes
Unique nodes are XML nodes that are manipulated 'by reference' when sent to the client part of an Eliom-application: the created element is allocated only one time in each instance of an application. See the eliom manual for more details.
Event handlers
type caml_event_handlerValues of type caml_event_handler represents event handler build with the {{ ... }} syntax (see the Eliom manual for more information on syntax extension). Such values are expected by functions like Eliom_content.Html.a_onclick.
val wrap : elt -> 'a -> 'a Eliom_wrap.wrapped_valueEliom_content.Xml.wrap page v is like Eliom_wrap.wrap v but it makes sure that all elts in v which are included in page are sent with empty content. This is safe because such elements will be taken from the DOM on the client either ways.