Walk through an XML document and call user-specified hooks.
Walk through an XML document and call user-specified hooks. This function will call all the hooks you specify on the relevant tags and elements. It returns at the end of the document.While walking the tree, uninteresting tags are dropped, according to previously supplied lists.