package xmldiff_js

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Applying patches to DOM. To use with js_of_ocaml.

val log : string -> unit

Create a DOM node tree from the given XML tree.

  • parameter doc

    Default is Dom_html.document.

dom_node_by_path path returns the DOM node corresponding to the given path or raise Not_found.

  • parameter skip_node

    is a function taking the current node and returning true if the node must not be taken into account during the lookup. Default is to not skip any node (a function returning always false).

  • parameter doc

    Default is Dom_html.document.

apply_dom_patch patch applies the given patch to the DOM.

  • parameter doc

    Default is Dom_html.document.