XPathEvaluator
Generated from idl/xpath.webidl when the site was built at 7aa23e2.
XPathEvaluator is an interface in idl/xpath.webidl, exposed in Window. It includes XPathEvaluatorBase. What it does is on MDN; this page says what niso has of it.
Status
Section titled “Status”The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).
| Feature | On the web | In niso | Members |
|---|---|---|---|
| XPath | Widely available | Partial 98% 1146 of 1166 subtests pass | 4 |
Members
Section titled “Members”constructor
Section titled “constructor”constructor();int32_t niso_x_path_evaluator_new(niso_dom* dom, niso_handle* out);createExpression()
Section titled “createExpression()”[NisoGlue, NewObject] XPathExpression createExpression(DOMString expression, optional XPathNSResolver? resolver = null);createNSResolver()
Section titled “createNSResolver()”Node createNSResolver(Node nodeResolver);int32_t niso_x_path_evaluator_base_create_ns_resolver(niso_dom* dom, niso_handle self, niso_handle node_resolver, niso_handle* out);evaluate()
Section titled “evaluate()”[NisoGlue] XPathResult evaluate(DOMString expression, Node contextNode, optional XPathNSResolver? resolver = null, optional unsigned short type = 0, optional XPathResult? result = null);xpathPrefixes()
Section titled “xpathPrefixes()”[NisoInternal] sequence<DOMString> xpathPrefixes(DOMString expression);int32_t niso_x_path_evaluator_base_xpath_prefixes(niso_dom* dom, niso_handle self, const char* expression, size_t expression_len, niso_strs* out);xpathCompile()
Section titled “xpathCompile()”[NisoInternal] XPathExpression xpathCompile(DOMString expression, sequence<DOMString> namespaces);int32_t niso_x_path_evaluator_base_xpath_compile(niso_dom* dom, niso_handle self, const char* expression, size_t expression_len, const niso_str* namespaces, size_t namespaces_len, niso_handle* out);