From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../fr/web/xpath/axes/ancestor-or-self/index.html | 9 ++ files/fr/web/xpath/axes/ancestor/index.html | 9 ++ files/fr/web/xpath/axes/attribute/index.html | 10 +++ files/fr/web/xpath/axes/child/index.html | 9 ++ .../web/xpath/axes/descendant-or-self/index.html | 9 ++ files/fr/web/xpath/axes/descendant/index.html | 10 +++ .../fr/web/xpath/axes/following-sibling/index.html | 9 ++ files/fr/web/xpath/axes/following/index.html | 9 ++ files/fr/web/xpath/axes/index.html | 96 ++++++++++++++++++++++ files/fr/web/xpath/axes/namespace/index.html | 10 +++ files/fr/web/xpath/axes/parent/index.html | 9 ++ .../fr/web/xpath/axes/preceding-sibling/index.html | 9 ++ files/fr/web/xpath/axes/preceding/index.html | 9 ++ files/fr/web/xpath/axes/self/index.html | 9 ++ 14 files changed, 216 insertions(+) create mode 100644 files/fr/web/xpath/axes/ancestor-or-self/index.html create mode 100644 files/fr/web/xpath/axes/ancestor/index.html create mode 100644 files/fr/web/xpath/axes/attribute/index.html create mode 100644 files/fr/web/xpath/axes/child/index.html create mode 100644 files/fr/web/xpath/axes/descendant-or-self/index.html create mode 100644 files/fr/web/xpath/axes/descendant/index.html create mode 100644 files/fr/web/xpath/axes/following-sibling/index.html create mode 100644 files/fr/web/xpath/axes/following/index.html create mode 100644 files/fr/web/xpath/axes/index.html create mode 100644 files/fr/web/xpath/axes/namespace/index.html create mode 100644 files/fr/web/xpath/axes/parent/index.html create mode 100644 files/fr/web/xpath/axes/preceding-sibling/index.html create mode 100644 files/fr/web/xpath/axes/preceding/index.html create mode 100644 files/fr/web/xpath/axes/self/index.html (limited to 'files/fr/web/xpath/axes') diff --git a/files/fr/web/xpath/axes/ancestor-or-self/index.html b/files/fr/web/xpath/axes/ancestor-or-self/index.html new file mode 100644 index 0000000000..16f10946c2 --- /dev/null +++ b/files/fr/web/xpath/axes/ancestor-or-self/index.html @@ -0,0 +1,9 @@ +--- +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. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/ancestor-or-self", "es": "es/XPath/Ejes/ancestor-or-self", "pl": "pl/XPath/Osie/ancestor-or-self" } ) }} diff --git a/files/fr/web/xpath/axes/ancestor/index.html b/files/fr/web/xpath/axes/ancestor/index.html new file mode 100644 index 0000000000..15df1d6c8c --- /dev/null +++ b/files/fr/web/xpath/axes/ancestor/index.html @@ -0,0 +1,9 @@ +--- +title: ancestor +slug: Web/XPath/Axes/ancestor +translation_of: Web/XPath/Axes/ancestor +--- +

+

L'axe ancestor indique tous les ascendants du nœud de contexte, du nœud parent jusqu'au nœud racine. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/ancestor", "es": "es/XPath/Ejes/ancestor", "pl": "pl/XPath/Osie/ancestor" } ) }} diff --git a/files/fr/web/xpath/axes/attribute/index.html b/files/fr/web/xpath/axes/attribute/index.html new file mode 100644 index 0000000000..be3c5180d3 --- /dev/null +++ b/files/fr/web/xpath/axes/attribute/index.html @@ -0,0 +1,10 @@ +--- +title: attribute +slug: Web/XPath/Axes/attribute +translation_of: Web/XPath/Axes/attribute +--- +

+

L'axe attribute axis indique les attributs du nœud de contexte. Seuls les éléments ont des attributs. Cet axe peut être abrégé avec le signe arobase (@). +


+Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/attribute", "es": "es/XPath/Ejes/attribute", "pl": "pl/XPath/Osie/attribute" } ) }} diff --git a/files/fr/web/xpath/axes/child/index.html b/files/fr/web/xpath/axes/child/index.html new file mode 100644 index 0000000000..3566915d63 --- /dev/null +++ b/files/fr/web/xpath/axes/child/index.html @@ -0,0 +1,9 @@ +--- +title: child +slug: Web/XPath/Axes/child +translation_of: Web/XPath/Axes/child +--- +

+

L'axe child indique les enfants du nœud de contexte. Si une expression XPath ne spécifie pas d'axe, il est compris par défaut. Comme seuls le nœud racine et les nœuds element ont des enfants, toute autre utilisation ne sélectionnera rien. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/child", "es": "es/XPath/Ejes/child", "pl": "pl/XPath/Osie/child" } ) }} diff --git a/files/fr/web/xpath/axes/descendant-or-self/index.html b/files/fr/web/xpath/axes/descendant-or-self/index.html new file mode 100644 index 0000000000..81227314a7 --- /dev/null +++ b/files/fr/web/xpath/axes/descendant-or-self/index.html @@ -0,0 +1,9 @@ +--- +title: descendant-or-self +slug: Web/XPath/Axes/descendant-or-self +translation_of: Web/XPath/Axes/descendant-or-self +--- +

+L'axe descendant-or-self indique le nœud de contexte et tout ses descendants. Les nœuds attribute et namespace ne sont pas compris - le parent d'un nœud attribute est un nœud element, mais les nœuds attribute ne sont pas les enfants de leur parent. +

interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/descendant-or-self", "es": "es/XPath/Ejes/descendant-or-self", "pl": "pl/XPath/Osie/descendant-or-self" } ) }} diff --git a/files/fr/web/xpath/axes/descendant/index.html b/files/fr/web/xpath/axes/descendant/index.html new file mode 100644 index 0000000000..e3f42fae11 --- /dev/null +++ b/files/fr/web/xpath/axes/descendant/index.html @@ -0,0 +1,10 @@ +--- +title: descendant +slug: Web/XPath/Axes/descendant +translation_of: Web/XPath/Axes/descendant +--- +

+

l'axe descendant indique tous les nœuds enfants du nœud de contexte, et tous leurs enfants, et ainsi de suite. Les nœuds attribute et namespace ne sont pas compris - le parent d'un nœud attribute est un nœud element, mais les nœuds attribute ne sont pas les enfants de leur parent. +


+Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/descendant", "es": "es/XPath/Ejes/descendant", "pl": "pl/XPath/Osie/descendant" } ) }} diff --git a/files/fr/web/xpath/axes/following-sibling/index.html b/files/fr/web/xpath/axes/following-sibling/index.html new file mode 100644 index 0000000000..bc8d434e5f --- /dev/null +++ b/files/fr/web/xpath/axes/following-sibling/index.html @@ -0,0 +1,9 @@ +--- +title: following-sibling +slug: Web/XPath/Axes/following-sibling +translation_of: Web/XPath/Axes/following-sibling +--- +

+

L'axe following-sibling indique tous les nœuds qui ont le même parent que le nœud de contexte mais qui apparaissent après lui dans le document source. +

Interwikilanguages Links +

{{ languages( { "en": "en/XPath/Axes/following-sibling", "es": "es/XPath/Ejes/following-sibling", "pl": "pl/XPath/Osie/following-sibling" } ) }} diff --git a/files/fr/web/xpath/axes/following/index.html b/files/fr/web/xpath/axes/following/index.html new file mode 100644 index 0000000000..cb53cdd742 --- /dev/null +++ b/files/fr/web/xpath/axes/following/index.html @@ -0,0 +1,9 @@ +--- +title: following +slug: Web/XPath/Axes/following +translation_of: Web/XPath/Axes/following +--- +

+

L'axe following indique tous les nœuds situés après le nœud de contexte, excepté les nœuds descendant, attribute et namespace. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/following", "es": "es/XPath/Ejes/following", "pl": "pl/XPath/Osie/following" } ) }} diff --git a/files/fr/web/xpath/axes/index.html b/files/fr/web/xpath/axes/index.html new file mode 100644 index 0000000000..ec59c9432b --- /dev/null +++ b/files/fr/web/xpath/axes/index.html @@ -0,0 +1,96 @@ +--- +title: Axes +slug: Web/XPath/Axes +tags: + - Référence_XPath + - Référence_XSLT + - Transformations_XML_avec_XSLT + - XPath + - XSLT +translation_of: Web/XPath/Axes +--- +

{{ XsltRef() }}

+

Il existe treize axes différents dans la spécification XPath. Un axe représente une relation au nœud de contexte, et il est utilisé pour situer dans l'arbre les autres nœuds par rapport à celui-ci. La liste suivante présente très brièvement les treize axes disponibles et le niveau de leur support dans Gecko.

+

Pour plus d'informations sur l'utilisation des expressions XPath, veuillez vous reportez à la section Autres ressources à la fin du document Transformations XML avec XSLT.

+

 

+
+
+ ancestor
+
+ Indique tous les ancêtres du nœud de contexte, depuis le nœud parent jusqu'au nœud racine.
+
+
+
+ ancestor-or-self
+
+ Indique le nœud de contexte et tous ses ancêtres, y compris le nœud racine.
+
+
+
+ attribute
+
+ Indique les attributs du nœud de contexte. Seuls les éléments ont des attributs. Cet axe peut être abrégé avec le signe arobase (@).
+
+
+
+ child
+
+ Indique les enfants du nœud de contexte. Si une expression XPath ne spécifie pas d'axe, c'est l'axe choisi par défaut. Comme seuls le nœud racine et les nœuds element ont des enfants, toute autre utilisation ne sélectionnera rien.
+
+
+
+ descendant
+
+ Indique tous les nœuds enfants du nœud de contexte, et tous leurs enfants, et ainsi de suite. Les nœuds attribute et namespace ne sont pas compris - le parent d'un nœud attribute est un nœud element, mais les nœuds attribute ne sont pas les enfants de leur parent.
+
+
+
+ descendant-or-self
+
+ Indique le nœud de contexte et tous ses descendants. Les nœuds attribute et namespace ne sont pas compris - le parent d'un nœud attribute est un nœud element, mais les nœuds attribute ne sont pas les enfants de leur parent.
+
+
+
+ following
+
+ Indique tous les nœuds situés après le nœud de contexte, exceptés les nœuds descendant, attribute et namespace.
+
+
+
+ following-sibling
+
+ Indique tous les nœuds qui ont le même parent que le nœud de contexte mais qui apparaissent après lui dans le document source.
+
+
+
+ namespace + + (non supporté) +
+
+ Indique tous les nœuds qui sont dans le voisinage immédiat du nœud de contexte. Dans ce cas, le nœud de contexte doit être un nœud element.
+
+
+
+ parent
+
+ Indique le nœud parent du nœud de contexte. Il peut être abrégé par deux points (..).
+
+
+
+ preceding
+
+ Indique tous les nœuds qui précédent le nœud de contexte dans le document, exceptés les nœuds ancestor, attribute et namespace.
+
+
+
+ preceding-sibling
+
+ Indique tous les nœuds qui ont le même parent que le nœud de contexte mais qui apparaissent avant lui dans le document source.
+
+
+
+ self
+
+ Indique le nœud de contexte lui-même. Il peut être abrégé par un point (.).
+
diff --git a/files/fr/web/xpath/axes/namespace/index.html b/files/fr/web/xpath/axes/namespace/index.html new file mode 100644 index 0000000000..59a1b9d8d4 --- /dev/null +++ b/files/fr/web/xpath/axes/namespace/index.html @@ -0,0 +1,10 @@ +--- +title: namespace +slug: Web/XPath/Axes/namespace +translation_of: Web/XPath/Axes/namespace +--- +

+

(non supporté) +

L'axe namespace indique tous les nœuds qui sont dans le voisinage immédiat du nœud de contexte. Dans ce cas, le nœud de contexte doit être un nœud element. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/namespace", "es": "es/XPath/Ejes/namespace", "pl": "pl/XPath/Osie/namespace" } ) }} diff --git a/files/fr/web/xpath/axes/parent/index.html b/files/fr/web/xpath/axes/parent/index.html new file mode 100644 index 0000000000..04148dd9e4 --- /dev/null +++ b/files/fr/web/xpath/axes/parent/index.html @@ -0,0 +1,9 @@ +--- +title: parent +slug: Web/XPath/Axes/parent +translation_of: Web/XPath/Axes/parent +--- +

+

L'axe parent indique le nœud parent du nœud de contexte. Il peut être abrégé par deux points (..). +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/parent", "es": "es/XPath/Ejes/parent", "pl": "pl/XPath/Osie/parent" } ) }} diff --git a/files/fr/web/xpath/axes/preceding-sibling/index.html b/files/fr/web/xpath/axes/preceding-sibling/index.html new file mode 100644 index 0000000000..b4c78b09b8 --- /dev/null +++ b/files/fr/web/xpath/axes/preceding-sibling/index.html @@ -0,0 +1,9 @@ +--- +title: preceding-sibling +slug: Web/XPath/Axes/preceding-sibling +translation_of: Web/XPath/Axes/preceding-sibling +--- +

+

L'axe preceding-sibling indique tous les nœuds qui ont le même parent que le nœud de contexte mais qui apparaissent avant lui dans le document source. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/preceding-sibling", "es": "es/XPath/Ejes/preceding-sibling", "pl": "pl/XPath/Osie/preceding-sibling" } ) }} diff --git a/files/fr/web/xpath/axes/preceding/index.html b/files/fr/web/xpath/axes/preceding/index.html new file mode 100644 index 0000000000..f0aa5014ab --- /dev/null +++ b/files/fr/web/xpath/axes/preceding/index.html @@ -0,0 +1,9 @@ +--- +title: preceding +slug: Web/XPath/Axes/preceding +translation_of: Web/XPath/Axes/preceding +--- +

+

L'axe preceding indique tous les nœuds qui précédent le nœud de contexte dans le document, except any ancestor, excepté les nœuds attribute et namespace. +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/preceding", "es": "es/XPath/Ejes/preceding", "pl": "pl/XPath/Osie/preceding" } ) }} diff --git a/files/fr/web/xpath/axes/self/index.html b/files/fr/web/xpath/axes/self/index.html new file mode 100644 index 0000000000..dd98799901 --- /dev/null +++ b/files/fr/web/xpath/axes/self/index.html @@ -0,0 +1,9 @@ +--- +title: self +slug: Web/XPath/Axes/self +translation_of: Web/XPath/Axes/self +--- +

+

L'axe self indique le nœud de contexte lui-même. Il peut être abrégé par un simple point (.). +

Interwiki Languages Links +

{{ languages( { "en": "en/XPath/Axes/self", "es": "es/XPath/Ejes/self", "pl": "pl/XPath/Osie/self" } ) }} -- cgit v1.2.3-54-g00ecf