Tyxml_xmlBasic functions for construction and manipulation of XML tree.
include Xml_sigs.Iterable with type uri = string and type event_handler = string and type mouse_event_handler = string and type
keyboard_event_handler = string and type touch_event_handler = stringinclude Xml_sigs.NoWrap with type uri = string with type event_handler = string with type
mouse_event_handler = string with type keyboard_event_handler = string with type touch_event_handler = stringmodule W = Xml_wrap.NoWraptype 'a wrap = 'a W.ttype 'a list_wrap = 'a W.tlistval 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 -> attribval empty : unit -> eltval comment : string -> eltval entity : string -> eltval cdata : string -> eltval cdata_script : string -> eltval cdata_style : string -> elttype acontent = private | AFloat of float |
| AInt of int |
| AStr of string |
| AStrL of separator * string list |
include Xml_sigs.Pp with type elt := eltval pp : ?encode:(string -> string) -> ?indent:bool -> unit -> Format.formatter -> elt -> unitval of_seq : Xml_stream.signal Seq.t -> elt listRecursively edit attributes for the element and all its children.
Edit attributes only for one element.
The following can safely be exported by higher level libraries, because removing an attribute from a element is always legal.
Exporting the following by higher level libraries would drive a hole through a type system, because they allow to add any attribute to any element.
val all_entities : elt -> string listval print_list : output:(string -> unit) -> ?encode:(string -> string) -> elt list -> unitval print : Format.formatter -> elt -> unit