--- 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")}}