Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Eliom_content.Xml

module Xml : sig..end

Low-level XML manipulation.

include Xml_sigs.Iterable

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 -#Dom_html.event caml_event_handler

Values of type 'a 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_service.onload or Eliom_content.Html5.a_onclick. The type parameter is the type of the javascript event expected by the handler, for example Dom_html.mouseEvent or Dom_html.keyboardEvent.

val wrap : elt -> 'a -> 'a Eliom_wrap.wrapped_value

Eliom_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.