Ocsigen

This is a preliminary version of the documentation. Help us to improve it by filling tickets. We are looking for native english speakers to proof read the documentation. Contact us!

Module Eliomduce


module Eliomduce: sig .. end
A module to generate pages using OCamlduce


For now, it does not seem to be easy to create a functor like Eliompredefmod.SubXhtml for Eliomduce. Use Eliomduce.Xml or Eliomduce.Xmllist instead.
module Xhtml: Eliompredefmod.ELIOMSIG  with type page = htmland type form_content_elt = form_contentand type form_content_elt_list = {{ [ form_content* ] }}and type uri = stringand type a_content_elt = a_contentand type a_content_elt_list = {{ [ a_content* ] }}and type div_content_elt = flowsand type div_content_elt_list = {{ [ flows* ] }}and type a_elt = aand type a_elt_list = {{ [ a* ] }}and type form_elt = formand type textarea_elt = textareaand type select_elt = selectand type input_elt = inputand type link_elt = linkand type script_elt = scriptand type pcdata_elt = {{ [ PCDATA ] }}and type a_attrib_t = a_attrsand type form_attrib_t =     {{ attrs ++ { accept-charset=?String accept=?String 	          onreset=?String onsubmit=?String enctype=?String } }}and type input_attrib_t = input_attrsand type textarea_attrib_t = {{ attrs ++ focus ++ 	{ onchange=?String            onselect=?String 	    readonly=?"readonly"             disabled=?"disabled" 	    name=?String } }}and type select_attrib_t = select_attrsand type link_attrib_t = link_attrsand type script_attrib_t =     {{ id ++ { defer=?"defer" src=?String charset=?String } }}and type input_type_t = input_type_valuesand type option_attrib_t = option_attrs
Register and create form for Xhtml
module Xml: Eliompredefmod.ELIOMSIG  with type page = Ocamlduce.Load.anyxmland type form_content_elt = form_contentand type form_content_elt_list = {{ [ form_content* ] }}and type uri = stringand type a_content_elt = a_contentand type a_content_elt_list = {{ [ a_content* ] }}and type div_content_elt = flowsand type div_content_elt_list = {{ [ flows* ] }}and type a_elt = aand type a_elt_list = {{ [ a* ] }}and type form_elt = formand type textarea_elt = textareaand type select_elt = selectand type input_elt = inputand type link_elt = linkand type script_elt = scriptand type pcdata_elt = {{ [ PCDATA ] }}and type a_attrib_t = a_attrsand type form_attrib_t =     {{ attrs ++ { accept-charset=?String accept=?String 	          onreset=?String onsubmit=?String enctype=?String } }}and type input_attrib_t = input_attrsand type textarea_attrib_t = {{ attrs ++ focus ++ 	{ onchange=?String            onselect=?String 	    readonly=?"readonly"             disabled=?"disabled" 	    name=?String } }}and type select_attrib_t = select_attrsand type link_attrib_t = link_attrsand type script_attrib_t =     {{ id ++ { defer=?"defer" src=?String charset=?String } }}and type input_type_t = input_type_values
Register and create form for any XML data type
module Xmllist: Eliompredefmod.ELIOMSIG  with type page = Ocamlduce.Load.anyxml listand type form_content_elt = form_contentand type form_content_elt_list = {{ [ form_content* ] }}and type uri = stringand type a_content_elt = a_contentand type a_content_elt_list = {{ [ a_content* ] }}and type div_content_elt = flowsand type div_content_elt_list = {{ [ flows* ] }}and type a_elt = aand type a_elt_list = {{ [ a* ] }}and type form_elt = formand type textarea_elt = textareaand type select_elt = selectand type input_elt = inputand type link_elt = linkand type script_elt = scriptand type pcdata_elt = {{ [ PCDATA ] }}and type a_attrib_t = a_attrsand type form_attrib_t =     {{ attrs ++ { accept-charset=?String accept=?String 	          onreset=?String onsubmit=?String enctype=?String } }}and type input_attrib_t = input_attrsand type textarea_attrib_t = {{ attrs ++ focus ++ 	{ onchange=?String            onselect=?String 	    readonly=?"readonly"             disabled=?"disabled" 	    name=?String } }}and type select_attrib_t = select_attrsand type link_attrib_t = link_attrsand type script_attrib_t =     {{ id ++ { defer=?"defer" src=?String charset=?String } }}and type input_type_t = input_type_values
Register and create form for list of XML data type
module Blocks: Eliompredefmod.ELIOMSIG  with type page = blocksand type form_content_elt = form_contentand type form_content_elt_list = {{ [ form_content* ] }}and type uri = stringand type a_content_elt = a_contentand type a_content_elt_list = {{ [ a_content* ] }}and type div_content_elt = flowsand type div_content_elt_list = {{ [ flows* ] }}and type a_elt = aand type a_elt_list = {{ [ a* ] }}and type form_elt = formand type textarea_elt = textareaand type select_elt = selectand type input_elt = inputand type link_elt = linkand type script_elt = scriptand type pcdata_elt = {{ [ PCDATA ] }}and type a_attrib_t = a_attrsand type form_attrib_t =     {{ attrs ++ { accept-charset=?String accept=?String 	          onreset=?String onsubmit=?String enctype=?String } }}and type input_attrib_t = input_attrsand type textarea_attrib_t = {{ attrs ++ focus ++ 	{ onchange=?String            onselect=?String 	    readonly=?"readonly"             disabled=?"disabled" 	    name=?String } }}and type select_attrib_t = select_attrsand type link_attrib_t = link_attrsand type script_attrib_t =     {{ id ++ { defer=?"defer" src=?String charset=?String } }}and type input_type_t = input_type_values
Register and create form for list of blocks (subtype of xhtml)
module SubXhtml: 
functor (T : sig
type content 
val print : (string -> unit) -> content -> unit
end) -> sig .. end