The child axis indicates the children of the context node. If an XPath expression does not specify an axis, the child axis is understood by default. Since only the root node or element nodes have children, any other use will select nothing.
Specifications
| Specification | Status | Comment |
|---|---|---|
| Unknown The definition of 'child' in that specification. |
Unknown | |
| Unknown The definition of 'child' in that specification. |
Unknown | |
| Unknown The definition of 'child' in that specification. |
Unknown | |
| Unknown The definition of 'child' in that specification. |
Unknown | Initial definition. |
Browser compatibility
No compatibility data found. Please contribute data for "xpath.axes.child" (depth: 1) to the MDN compatibility data repository.