--- title: ancestor-or-self slug: Web/XPath/Axes/ancestor-or-self translation_of: Web/XPath/Axes/ancestor-or-self --- L'axe `ancestor-or-self` indique le nœud de contexte courant ainsi que tous ses ascendants, y compris le nœud racine.