From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/api/document/createexpression/index.html | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 files/ja/web/api/document/createexpression/index.html (limited to 'files/ja/web/api/document/createexpression') diff --git a/files/ja/web/api/document/createexpression/index.html b/files/ja/web/api/document/createexpression/index.html new file mode 100644 index 0000000000..847bf1ea3c --- /dev/null +++ b/files/ja/web/api/document/createexpression/index.html @@ -0,0 +1,47 @@ +--- +title: Document.createExpression() +slug: Web/API/Document/createExpression +tags: + - API + - DOM + - Document + - Reference + - XPath + - createExpression + - メソッド +translation_of: Web/API/Document/createExpression +--- +
{{APIRef("DOM")}}
+ +

このメソッドは、 (繰り返して) 評価を行うために使用することができる {{DOMxRef("XPathExpression")}} をコンパイルします。

+ +

構文

+ +
xpathExpr = document.createExpression(xpathText, namespaceURLMapper);
+
+ +

引数

+ + + +

{{Fx_MinVersion_Note(3, "Firefox 3 より前では、対象として XPath を実行する文書以外の文書に対してこのメソッドを呼び出すことができました。 Firefox 3 では、同じ文書に対して呼び出す必要があります。")}}

+ +

返値

+ +

{{DOMxRef("XPathExpression")}}

+ +

ブラウザーの対応

+ + + +

{{Compat("api.Document.createExpression")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf