pub fn node_matches_child<I: DocIndexLike>(
node: NodeId,
test: &NodeTest,
idx: &I,
bindings: &dyn XPathBindings,
) -> boolExpand description
Test node against test as if reached on the child:: axis
(principal node kind = element). Exposed for the XSLT pattern
matcher, which handles document-node(element(N)) patterns
structurally and needs to check the document element against the
inner element test.