import { Registry } from "https://deno.land/x/xml_renderer@6.0.1/src/Registry.ts";
Reorders the sets based on XPath test specificity so that an Array#find
finds the closest matching test
first.
For example <b />
could match tests self::b
as well as self::b[not(child::*)]
, but the latter is more
specific so it wins.
This method is private because it is already called at all relevant times. Calling it again will normally not yield any different results.