Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/typing/lib.dom.ts>XPathExpression

Deno Standard Extensions
Go to Latest
interface XPathExpression
import { type XPathExpression } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree.

Methods

evaluate(
contextNode: Node,
type?: number,
result?: XPathResult | null,
): XPathResult