diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
| commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
| tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/xpath/axes | |
| parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
| download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip | |
initial commit
Diffstat (limited to 'files/ja/web/xpath/axes')
| -rw-r--r-- | files/ja/web/xpath/axes/ancestor-or-self/index.html | 15 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/ancestor/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/attribute/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/child/index.html | 49 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/descendant-or-self/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/descendant/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/following-sibling/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/following/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/index.html | 47 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/namespace/index.html | 10 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/parent/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/preceding-sibling/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/preceding/index.html | 9 | ||||
| -rw-r--r-- | files/ja/web/xpath/axes/self/index.html | 49 |
14 files changed, 251 insertions, 0 deletions
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 +--- +<p><code>ancestor-or-self</code>の軸は、コンテキストノードおよびルートノードを含むそのすべての祖先を示します。</p> + +<p> </p> + +<p> </p> + +<p> </p> 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 +--- +<p><code>ancestor</code>の軸は、親ノードで始まりルートノードに移動するコンテキストノードのすべての祖先を示します。</p> 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 +--- +<p><code>attribute</code>の軸は、コンテキストノードの属性を示します。要素だけが属性を持ちます。この軸は、アットマーク (<code>@</code>) で省略することができます。</p> 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 +--- +<p><code>child</code> 軸はコンテキストノードの子を示します。XPath 式が軸を指定していない場合、<code>child</code> 軸はデフォルトで認識されます。ルートノードまたは要素ノードだけが子を持つため、他の用途では何も選択されません。</p> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">仕様</th> + <th scope="col">ステータス</th> + <th scope="col">コメント</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName("XPath3.1","#axes","child")}}</td> + <td>{{Spec2("XPath3.1")}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName("XPath3","#axes","child")}}</td> + <td>{{Spec2("XPath3")}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName("XPath2","#axes","child")}}</td> + <td>{{Spec2("XPath2")}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName("XPath1","#axes","child")}}</td> + <td>{{Spec2("XPath1")}}</td> + <td>初期の定義</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<p>{{Compat("xpath.axes.child")}}</p> + +<p>{{QuickLinksWithSubpages("/ja/docs/Web/XPath")}}</p> 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 +--- +<p><code>descendant-or-self</code>軸は、コンテキストノードとその子孫のすべてを示します。 属性ノードと名前空間ノードは含まれません。属性ノードの<code>parent</code>は<code>attribute</code>ノードですが、<code>attribute</code>ノードは親の子ノードではありません。</p> 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 +--- +<p><code>descendant</code>軸は、コンテキストノードのすべての子孫、およびすべての子孫などを示します。 属性ノードと名前空間ノードは含まれ<strong>ません</strong>。属性ノードの<code>parent</code>は<code>attribute</code>ノードですが、<code>attribute</code>ノードは親の子ノードではありません。</p> 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 +--- +<p><code>following-sibling</code>軸は、コンテキストノードと同じ親を持ち、ソースドキュメント内のコンテキストノードの後に現れるすべてのノードを示します。</p> 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 +--- +<p><code>following</code>軸は、<code>descendant</code>ノード、<code>attribute</code>ノード、および<code>namespace</code>ノードを除き、コンテキストノードの後に表示されるすべてのノードを示します。</p> 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 +--- +<p>{{ XsltRef() }} <a href="ja/XPath">XPath</a> 仕様では 13 種類の{{ 訳語("軸", "Axis") }}が定められています。軸はコンテクストノードとの関連性を表し、ツリー上でのノードのコンテクストノードからの相対的な位置を示すのに用いられます。以下は XPath で利用できる 13 種類の軸のごく簡単な説明と、<a href="/ja/docs/Mozilla/Gecko">Gecko</a> における対応状況を示したものです。</p> + +<p>XPath 式の使用に関するより詳しい情報は、<a href="ja/Transforming_XML_with_XSLT">XSLT による XML の変換</a>の記事の最後の<a href="ja/Transforming_XML_with_XSLT/For_Further_Reading">より詳しい読み物</a>の節を参照して下さい。</p> + +<dl> + <dt><a href="/ja/docs/Web/XPath/Axes/ancestor">ancestor</a></dt> + <dd>コンテクストノードの親ノードからルートノードまでの全ての祖先を示します。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/ancestor-or-self">ancestor-or-self</a></dt> + <dd>コンテクストノードと、その全てのルートノードを含む祖先を示します。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/attribute">attribute</a></dt> + <dd>コンテクストノードの属性を示します。属性を持つのは要素のみです。この軸はアットマーク (<code>@</code>) によって省略できます。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/child">child</a></dt> + <dd>コンテクストノードの子を示します。 XPath 式で軸が指定されていなければ、デフォルトでこの軸が指定されていると認識されます。子を持つのはルートノードか要素ノードのみなので、他のノードでこの軸を使用しても何も選択されません。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/descendant">descendant</a></dt> + <dd>コンテクストノードの全ての子と、その全ての子と、そのまた全ての・・・というように示します。属性ノードと名前空間ノードは<strong>含まれません</strong>。 <code>attribute</code> ノードの <code>parent</code> は要素ノードですが、<code>attribute</code> ノードはその要素ノードの子ではないからです。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/descendant-or-self">descendant-or-self</a></dt> + <dd>コンテクストノードと、その全ての子孫を示します。属性ノードと名前空間ノードは<strong>含まれません</strong>。 <code>attribute</code> ノードの <code>parent</code> は要素ノードですが、<code>attribute</code> ノードはその要素ノードの子ではないからです。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/following">following</a></dt> + <dd>コンテクストノードの後に現れる、<code>descendant</code>、<code>attribute</code>、<code>namespace</code> ノードを除く全てのノードを示します。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/following-sibling">following-sibling</a></dt> + <dd>コンテクストノードと同じ親を持ち、ソース文書内でコンテクストノードの後に現れる全てのノードを示します。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/namespace">namespace</a><em>(サポート対象外)</em></dt> + <dd>コンテクストノードのスコープ内にある全てのノードを示します。この場合、コンテクストノードは要素ノードでなければなりません。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/parent">parent</a></dt> + <dd>コンテクストノードの親である単一のノードを示します。この軸は 2 つのピリオド (<code>..</code>) によって省略できます。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/preceding">preceding</a></dt> + <dd>文書内でコンテクストノードの前に現れる、 <code>ancestor</code>、 <code>attribute</code> 、 <code>namespace</code> ノードを除く全てのノードを示します。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/preceding-sibling">preceding-sibling</a></dt> + <dd>コンテクストノードと同じ親を持ち、ソース文書内でコンテクストノードの前に現れる全てのノードを示します。</dd> + <dt><a href="/ja/docs/Web/XPath/Axes/self">self</a></dt> + <dd>コンテクストノード自身を示します。 この軸はピリオド (<code>.</code>) によって省略できます。</dd> +</dl> + +<div class="noinclude"> </div> + +<p>{{QuickLinksWithSubpages("/ja/docs/Web/XPath")}}</p> 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 +--- +<p><em>(サポート対象外)</em><br> + <code>namespace</code>軸は、コンテキストノードのスコープ内にあるすべてのノードを示します。この場合、コンテキストノードは要素ノードでなければなりません。</p> 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 +--- +<p><code>parent</code>軸は、コンテキストノードの親である単一のノードを示します。それは2つのピリオド(..)に省略することができます。</p> 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 +--- +<p><code>preceding-sibling</code>軸は、コンテキストノードと同じ親を持ち、ソースドキュメントのコンテキストノードの前に現れるすべてのノードを示します。</p> 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 +--- +<p><code>preceding</code>軸は、<code>ancestor</code>ノード、<code>attribute</code>ノード、および<code>namespace</code>ノードを除いて、ドキュメント内のコンテキストノードに先行するすべてのノードを示します。</p> 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 +--- +<p><code>self</code> 軸はコンテキストノード自体を表します。単一のピリオド (<code>.</code>) に省略することができます。</p> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">仕様</th> + <th scope="col">ステータス</th> + <th scope="col">コメント</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName("XPath3.1","#axes","self")}}</td> + <td>{{Spec2("XPath3.1")}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName("XPath3","#axes","self")}}</td> + <td>{{Spec2("XPath3")}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName("XPath2","#axes","self")}}</td> + <td>{{Spec2("XPath2")}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName("XPath1","#axes","self")}}</td> + <td>{{Spec2("XPath1")}}</td> + <td>初期の定義</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザの互換性">ブラウザの互換性</h2> + +<p>{{Compat("xpath.axes.self")}}</p> + +<p>{{QuickLinksWithSubpages("/ja/docs/Web/XPath")}}</p> |
