package SZXX
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module SAX.StreamSource
Source
type state = {decl_attrs : attr_list option;stack : partial list;path_stack : string list;top : DOM.element option;
}Source
val folder :
filter_path:string list ->
on_match:(DOM.element -> unit) ->
?strict:bool ->
(state, string) Core.result ->
node ->
(state, string) Core.resultstrict (default: true) When false, non-closed elements are treated as self-closing elements, HTML-style. For example a <br> without a matching </br> is treated as <br />. Note that non-closed elements within the path to filter_path will prevent on_match from being called on some (but not all) otherwise matching elements.