XPathResult

XPathResult インターフェイス (DOM)

代替

[4] XPath 1.0DOM XPath は開発停止状態の技術で、 Selectors API を使う方が好ましいと考えられています。

メンバー

実装

[1] singleNodeValue などのプロパティーは、 resultType による適切な型であい場合にあっては、 TypeError になります。

[2] Firefox では DOMExceptionTypeErrorChromeJavaScriptTypeError となります。

[3] DOM3 XPath 仕様上は XPathExceptionTYPE_ERR と定義されていました。

[5] Add the DOM XPath interfaces from the WHATWG wiki (annevk著, ) https://github.com/whatwg/dom/commit/dea5d92156f144faf57d1a5e54a17227139ca3c5