package SZXX
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Basic XML types and accessor functions
val sexp_of_attr_list : attr_list -> Sexplib0.Sexp.t
val sexp_of_element : element -> Sexplib0.Sexp.t
val get_attr : attr_list -> string -> string option
Convenience function to access attributes by name
val preserve_space : attr_list -> bool
Convenience function to check whether an element has attribute xml:space="preserve"
SZXX.Xml.DOM.unescape "Fast & Furious 🏎️"
returns "Fast & Furious 🏎️"
el |> dot "row"
returns the first immediate <row>
child of element el
val dot_text : string -> element -> string option
el |> dot "row"
returns the text of the first immediate <row>
child of element el
el |> filter_map "row" ~f
returns all filtered f <row>
children of element el
el |> at 3
returns the nth (0-based indexing) immediate child of element el
.
Same as at
but takes a string argument. This allows at_s
to be used in get
together with dot
and dot_text
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>