From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../ja/web/xpath/axes/ancestor-or-self/index.html | 15 +++++++ files/ja/web/xpath/axes/ancestor/index.html | 9 ++++ files/ja/web/xpath/axes/attribute/index.html | 9 ++++ files/ja/web/xpath/axes/child/index.html | 49 ++++++++++++++++++++++ .../web/xpath/axes/descendant-or-self/index.html | 9 ++++ files/ja/web/xpath/axes/descendant/index.html | 9 ++++ .../ja/web/xpath/axes/following-sibling/index.html | 9 ++++ files/ja/web/xpath/axes/following/index.html | 9 ++++ files/ja/web/xpath/axes/index.html | 47 +++++++++++++++++++++ files/ja/web/xpath/axes/namespace/index.html | 10 +++++ files/ja/web/xpath/axes/parent/index.html | 9 ++++ .../ja/web/xpath/axes/preceding-sibling/index.html | 9 ++++ files/ja/web/xpath/axes/preceding/index.html | 9 ++++ files/ja/web/xpath/axes/self/index.html | 49 ++++++++++++++++++++++ 14 files changed, 251 insertions(+) create mode 100644 files/ja/web/xpath/axes/ancestor-or-self/index.html create mode 100644 files/ja/web/xpath/axes/ancestor/index.html create mode 100644 files/ja/web/xpath/axes/attribute/index.html create mode 100644 files/ja/web/xpath/axes/child/index.html create mode 100644 files/ja/web/xpath/axes/descendant-or-self/index.html create mode 100644 files/ja/web/xpath/axes/descendant/index.html create mode 100644 files/ja/web/xpath/axes/following-sibling/index.html create mode 100644 files/ja/web/xpath/axes/following/index.html create mode 100644 files/ja/web/xpath/axes/index.html create mode 100644 files/ja/web/xpath/axes/namespace/index.html create mode 100644 files/ja/web/xpath/axes/parent/index.html create mode 100644 files/ja/web/xpath/axes/preceding-sibling/index.html create mode 100644 files/ja/web/xpath/axes/preceding/index.html create mode 100644 files/ja/web/xpath/axes/self/index.html (limited to 'files/ja/web/xpath/axes') diff --git a/files/ja/web/xpath/axes/ancestor-or-self/index.html b/files/ja/web/xpath/axes/ancestor-or-self/index.html new file mode 100644 index 0000000000..7042f0981f --- /dev/null +++ b/files/ja/web/xpath/axes/ancestor-or-self/index.html @@ -0,0 +1,15 @@ +--- +title: ancestor-or-self +slug: Web/XPath/Axes/ancestor-or-self +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/ancestor-or-self +--- +

ancestor-or-selfの軸は、コンテキストノードおよびルートノードを含むそのすべての祖先を示します。

+ +

 

+ +

 

+ +

 

diff --git a/files/ja/web/xpath/axes/ancestor/index.html b/files/ja/web/xpath/axes/ancestor/index.html new file mode 100644 index 0000000000..6fc958f6b8 --- /dev/null +++ b/files/ja/web/xpath/axes/ancestor/index.html @@ -0,0 +1,9 @@ +--- +title: ancestor +slug: Web/XPath/Axes/ancestor +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/ancestor +--- +

ancestorの軸は、親ノードで始まりルートノードに移動するコンテキストノードのすべての祖先を示します。

diff --git a/files/ja/web/xpath/axes/attribute/index.html b/files/ja/web/xpath/axes/attribute/index.html new file mode 100644 index 0000000000..dd9f689b1c --- /dev/null +++ b/files/ja/web/xpath/axes/attribute/index.html @@ -0,0 +1,9 @@ +--- +title: attribute +slug: Web/XPath/Axes/attribute +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/attribute +--- +

attributeの軸は、コンテキストノードの属性を示します。要素だけが属性を持ちます。この軸は、アットマーク (@) で省略することができます。

diff --git a/files/ja/web/xpath/axes/child/index.html b/files/ja/web/xpath/axes/child/index.html new file mode 100644 index 0000000000..3b75074056 --- /dev/null +++ b/files/ja/web/xpath/axes/child/index.html @@ -0,0 +1,49 @@ +--- +title: child +slug: Web/XPath/Axes/child +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/child +--- +

child 軸はコンテキストノードの子を示します。XPath 式が軸を指定していない場合、child 軸はデフォルトで認識されます。ルートノードまたは要素ノードだけが子を持つため、他の用途では何も選択されません。

+ +

仕様

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
仕様ステータスコメント
{{SpecName("XPath3.1","#axes","child")}}{{Spec2("XPath3.1")}} 
{{SpecName("XPath3","#axes","child")}}{{Spec2("XPath3")}} 
{{SpecName("XPath2","#axes","child")}}{{Spec2("XPath2")}} 
{{SpecName("XPath1","#axes","child")}}{{Spec2("XPath1")}}初期の定義
+ +

ブラウザの互換性

+ +

{{Compat("xpath.axes.child")}}

+ +

{{QuickLinksWithSubpages("/ja/docs/Web/XPath")}}

diff --git a/files/ja/web/xpath/axes/descendant-or-self/index.html b/files/ja/web/xpath/axes/descendant-or-self/index.html new file mode 100644 index 0000000000..f9803883a1 --- /dev/null +++ b/files/ja/web/xpath/axes/descendant-or-self/index.html @@ -0,0 +1,9 @@ +--- +title: descendant-or-self +slug: Web/XPath/Axes/descendant-or-self +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/descendant-or-self +--- +

descendant-or-self軸は、コンテキストノードとその子孫のすべてを示します。 属性ノードと名前空間ノードは含まれません。属性ノードのparentattributeノードですが、attributeノードは親の子ノードではありません。

diff --git a/files/ja/web/xpath/axes/descendant/index.html b/files/ja/web/xpath/axes/descendant/index.html new file mode 100644 index 0000000000..2457777815 --- /dev/null +++ b/files/ja/web/xpath/axes/descendant/index.html @@ -0,0 +1,9 @@ +--- +title: descendant +slug: Web/XPath/Axes/descendant +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/descendant +--- +

descendant軸は、コンテキストノードのすべての子孫、およびすべての子孫などを示します。 属性ノードと名前空間ノードは含まれません。属性ノードのparentattributeノードですが、attributeノードは親の子ノードではありません。

diff --git a/files/ja/web/xpath/axes/following-sibling/index.html b/files/ja/web/xpath/axes/following-sibling/index.html new file mode 100644 index 0000000000..5effc0063d --- /dev/null +++ b/files/ja/web/xpath/axes/following-sibling/index.html @@ -0,0 +1,9 @@ +--- +title: following-sibling +slug: Web/XPath/Axes/following-sibling +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/following-sibling +--- +

following-sibling軸は、コンテキストノードと同じ親を持ち、ソースドキュメント内のコンテキストノードの後に現れるすべてのノードを示します。

diff --git a/files/ja/web/xpath/axes/following/index.html b/files/ja/web/xpath/axes/following/index.html new file mode 100644 index 0000000000..73d3dc3958 --- /dev/null +++ b/files/ja/web/xpath/axes/following/index.html @@ -0,0 +1,9 @@ +--- +title: following +slug: Web/XPath/Axes/following +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/following +--- +

following軸は、descendantノード、attributeノード、およびnamespaceノードを除き、コンテキストノードの後に表示されるすべてのノードを示します。

diff --git a/files/ja/web/xpath/axes/index.html b/files/ja/web/xpath/axes/index.html new file mode 100644 index 0000000000..a58bfa8eae --- /dev/null +++ b/files/ja/web/xpath/axes/index.html @@ -0,0 +1,47 @@ +--- +title: Axes +slug: Web/XPath/Axes +tags: + - Transforming_XML_with_XSLT + - XPath + - XPath_Reference + - XSLT + - XSLT_Reference +translation_of: Web/XPath/Axes +--- +

{{ XsltRef() }} XPath 仕様では 13 種類の{{ 訳語("軸", "Axis") }}が定められています。軸はコンテクストノードとの関連性を表し、ツリー上でのノードのコンテクストノードからの相対的な位置を示すのに用いられます。以下は XPath で利用できる 13 種類の軸のごく簡単な説明と、Gecko における対応状況を示したものです。

+ +

XPath 式の使用に関するより詳しい情報は、XSLT による XML の変換の記事の最後のより詳しい読み物の節を参照して下さい。

+ +
+
ancestor
+
コンテクストノードの親ノードからルートノードまでの全ての祖先を示します。
+
ancestor-or-self
+
コンテクストノードと、その全てのルートノードを含む祖先を示します。
+
attribute
+
コンテクストノードの属性を示します。属性を持つのは要素のみです。この軸はアットマーク (@) によって省略できます。
+
child
+
コンテクストノードの子を示します。 XPath 式で軸が指定されていなければ、デフォルトでこの軸が指定されていると認識されます。子を持つのはルートノードか要素ノードのみなので、他のノードでこの軸を使用しても何も選択されません。
+
descendant
+
コンテクストノードの全ての子と、その全ての子と、そのまた全ての・・・というように示します。属性ノードと名前空間ノードは含まれませんattribute ノードの parent は要素ノードですが、attribute ノードはその要素ノードの子ではないからです。
+
descendant-or-self
+
コンテクストノードと、その全ての子孫を示します。属性ノードと名前空間ノードは含まれませんattribute ノードの parent は要素ノードですが、attribute ノードはその要素ノードの子ではないからです。
+
following
+
コンテクストノードの後に現れる、descendantattributenamespace ノードを除く全てのノードを示します。
+
following-sibling
+
コンテクストノードと同じ親を持ち、ソース文書内でコンテクストノードの後に現れる全てのノードを示します。
+
namespace(サポート対象外)
+
コンテクストノードのスコープ内にある全てのノードを示します。この場合、コンテクストノードは要素ノードでなければなりません。
+
parent
+
コンテクストノードの親である単一のノードを示します。この軸は 2 つのピリオド (..) によって省略できます。
+
preceding
+
文書内でコンテクストノードの前に現れる、 ancestorattributenamespace ノードを除く全てのノードを示します。
+
preceding-sibling
+
コンテクストノードと同じ親を持ち、ソース文書内でコンテクストノードの前に現れる全てのノードを示します。
+
self
+
コンテクストノード自身を示します。 この軸はピリオド (.) によって省略できます。
+
+ +
 
+ +

{{QuickLinksWithSubpages("/ja/docs/Web/XPath")}}

diff --git a/files/ja/web/xpath/axes/namespace/index.html b/files/ja/web/xpath/axes/namespace/index.html new file mode 100644 index 0000000000..67d093e149 --- /dev/null +++ b/files/ja/web/xpath/axes/namespace/index.html @@ -0,0 +1,10 @@ +--- +title: namespace +slug: Web/XPath/Axes/namespace +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/namespace +--- +

(サポート対象外)
+ namespace軸は、コンテキストノードのスコープ内にあるすべてのノードを示します。この場合、コンテキストノードは要素ノードでなければなりません。

diff --git a/files/ja/web/xpath/axes/parent/index.html b/files/ja/web/xpath/axes/parent/index.html new file mode 100644 index 0000000000..2f87b76791 --- /dev/null +++ b/files/ja/web/xpath/axes/parent/index.html @@ -0,0 +1,9 @@ +--- +title: parent +slug: Web/XPath/Axes/parent +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/parent +--- +

parent軸は、コンテキストノードの親である単一のノードを示します。それは2つのピリオド(..)に省略することができます。

diff --git a/files/ja/web/xpath/axes/preceding-sibling/index.html b/files/ja/web/xpath/axes/preceding-sibling/index.html new file mode 100644 index 0000000000..885ceca5bd --- /dev/null +++ b/files/ja/web/xpath/axes/preceding-sibling/index.html @@ -0,0 +1,9 @@ +--- +title: preceding-sibling +slug: Web/XPath/Axes/preceding-sibling +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/preceding-sibling +--- +

preceding-sibling軸は、コンテキストノードと同じ親を持ち、ソースドキュメントのコンテキストノードの前に現れるすべてのノードを示します。

diff --git a/files/ja/web/xpath/axes/preceding/index.html b/files/ja/web/xpath/axes/preceding/index.html new file mode 100644 index 0000000000..95924c79f1 --- /dev/null +++ b/files/ja/web/xpath/axes/preceding/index.html @@ -0,0 +1,9 @@ +--- +title: preceding +slug: Web/XPath/Axes/preceding +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/preceding +--- +

preceding軸は、ancestorノード、attributeノード、およびnamespaceノードを除いて、ドキュメント内のコンテキストノードに先行するすべてのノードを示します。

diff --git a/files/ja/web/xpath/axes/self/index.html b/files/ja/web/xpath/axes/self/index.html new file mode 100644 index 0000000000..963021923a --- /dev/null +++ b/files/ja/web/xpath/axes/self/index.html @@ -0,0 +1,49 @@ +--- +title: self +slug: Web/XPath/Axes/self +tags: + - Axe + - XPath +translation_of: Web/XPath/Axes/self +--- +

self 軸はコンテキストノード自体を表します。単一のピリオド (.) に省略することができます。

+ +

仕様

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
仕様ステータスコメント
{{SpecName("XPath3.1","#axes","self")}}{{Spec2("XPath3.1")}} 
{{SpecName("XPath3","#axes","self")}}{{Spec2("XPath3")}} 
{{SpecName("XPath2","#axes","self")}}{{Spec2("XPath2")}} 
{{SpecName("XPath1","#axes","self")}}{{Spec2("XPath1")}}初期の定義
+ +

ブラウザの互換性

+ +

{{Compat("xpath.axes.self")}}

+ +

{{QuickLinksWithSubpages("/ja/docs/Web/XPath")}}

-- cgit v1.2.3-54-g00ecf