XPathExpression
Types
t
This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its WebApiDOM tree. See XPathExpression on MDN
type t = private {}Values
evaluate
let evaluate: ( t, ~contextNode: WebAPI.DOMTree.node, ~type_: int=?, ~result: WebAPI.XPathResult.t=?,) => WebAPI.XPathResult.t