{
 "caniuse": [
  "document-evaluate-xpath"
 ],
 "compat_features": [
  "api.Document.createExpression",
  "api.Document.evaluate",
  "api.XPathEvaluator",
  "api.XPathEvaluator.XPathEvaluator",
  "api.XPathEvaluator.createExpression",
  "api.XPathEvaluator.evaluate",
  "api.XPathExpression",
  "api.XPathExpression.evaluate",
  "api.XPathResult",
  "api.XPathResult.booleanValue",
  "api.XPathResult.invalidIteratorState",
  "api.XPathResult.iterateNext",
  "api.XPathResult.numberValue",
  "api.XPathResult.resultType",
  "api.XPathResult.singleNodeValue",
  "api.XPathResult.snapshotItem",
  "api.XPathResult.snapshotLength",
  "api.XPathResult.stringValue"
 ],
 "description": "The document.evaluate() method selects elements in an HTML or XML document based on an expression of XPath, a domain specific language for querying XML documents. Also known as XML Path Language.",
 "description_html": "The <code>document.evaluate()</code> method selects elements in an HTML or XML document based on an expression of XPath, a domain specific language for querying XML documents. Also known as XML Path Language.",
 "group": [
  "xml"
 ],
 "kind": "feature",
 "name": "XPath",
 "spec": [
  "https://dom.spec.whatwg.org/#xpath"
 ],
 "status": {
  "baseline": "high",
  "baseline_high_date": "2018-01-29",
  "baseline_low_date": "2015-07-29",
  "by_compat_key": {
   "api.Document.createExpression": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.Document.evaluate": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathEvaluator": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathEvaluator.XPathEvaluator": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathEvaluator.createExpression": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathEvaluator.evaluate": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathExpression": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathExpression.evaluate": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.booleanValue": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.invalidIteratorState": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.iterateNext": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.numberValue": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.resultType": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.singleNodeValue": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.snapshotItem": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.snapshotLength": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   },
   "api.XPathResult.stringValue": {
    "baseline": "high",
    "baseline_high_date": "2018-01-29",
    "baseline_low_date": "2015-07-29",
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "1",
     "firefox_android": "4",
     "safari": "3",
     "safari_ios": "1"
    }
   }
  },
  "support": {
   "chrome": "1",
   "chrome_android": "18",
   "edge": "12",
   "firefox": "1",
   "firefox_android": "4",
   "safari": "3",
   "safari_ios": "1"
  }
 },
 "id": "xpath",
 "groups": [
  "xml"
 ],
 "specs": [
  {
   "url": "https://dom.spec.whatwg.org/#xpath",
   "seriesComposition": "full",
   "shortname": "dom",
   "series": {
    "shortname": "dom",
    "currentSpecification": "dom",
    "title": "DOM",
    "shortTitle": "DOM",
    "nightlyUrl": "https://dom.spec.whatwg.org/"
   },
   "organization": "WHATWG",
   "groups": [
    {
     "name": "DOM Workstream",
     "url": "https://dom.spec.whatwg.org/"
    }
   ],
   "nightly": {
    "url": "https://dom.spec.whatwg.org/",
    "status": "Living Standard",
    "alternateUrls": [],
    "repository": "https://github.com/whatwg/dom",
    "sourcePath": "dom.bs",
    "filename": "index.html"
   },
   "title": "DOM",
   "source": "whatwg",
   "shortTitle": "DOM",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "dom",
     "shadow-dom"
    ]
   },
   "fragment": "xpath"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/XML/XPath",
   "title": "XPath",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/XML/XPath"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:xpath"
 },
 "developerSignals": null,
 "bugs": {},
 "baselineLowDateAsObject": "2015-07-29T00:00:00.000Z",
 "baselineHighDateAsObject": "2018-01-29T00:00:00.000Z"
}