---
title: descendant
slug: Web/XPath/Axes/descendant
tags:
  - Axe
  - XPath
---
The `descendant` axis indicates all of the children of the context node, and all of their children, and so forth. Attribute and namespace nodes are **not** included - the `parent` of an `attribute` node is an element node, but `attribute` nodes are not the children of their parents.
