Module Yaxpodom.Namespace_utils


module Namespace_utils: sig .. end

val qualify_namespaces : Yaxpodom.ele -> Yaxpodom.att list list -> unit
Experimental. Walks the tree of the element, and adds namespace declarations as needed to make sure that in the resulting tree, all namespace prefixes are consistent with the nsURI parts of the qnames. The second parameter is supposed to be a list of lists of attributes representing namespace declarations that it uses to evaluate against; it is never harmful to pass [].

This operation is pretty expensive in time.