Skip to content

XPathExpression

Generated from idl/xpath.webidl when the site was built at 7aa23e2.

XPathExpression is an interface in idl/xpath.webidl, exposed in Window. What it does is on MDN; this page says what niso has of it.

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 2
operation
XPathResult evaluate(Node contextNode, optional unsigned short type = 0, optional XPathResult? result = null);
int32_t niso_x_path_expression_evaluate(niso_dom* dom, niso_handle self, niso_handle context_node, uint16_t type, niso_handle result, niso_handle* out);