aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xpath/fonctions/position/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/xpath/fonctions/position/index.html')
-rw-r--r--files/fr/web/xpath/fonctions/position/index.html57
1 files changed, 0 insertions, 57 deletions
diff --git a/files/fr/web/xpath/fonctions/position/index.html b/files/fr/web/xpath/fonctions/position/index.html
deleted file mode 100644
index fb746d8286..0000000000
--- a/files/fr/web/xpath/fonctions/position/index.html
+++ /dev/null
@@ -1,57 +0,0 @@
----
-title: position
-slug: Web/XPath/Fonctions/position
-tags:
- - Référence_XSLT
-translation_of: Web/XPath/Functions/position
----
-<p>{{ XsltRef() }}</p>
-
-<p><br>
- La fonction <code>position</code> retourne un nombre égal à la position du contexte dans le contexte d'évaluation d'expression.</p>
-
-<h3 id="Syntaxe" name="Syntaxe">Syntaxe</h3>
-
-<pre class="eval">position()
-</pre>
-
-<h3 id="Retour" name="Retour">Retour</h3>
-
-<p>Un nombre entier égal à la position du contenu dans le contexte d'évaluation d'expression.</p>
-
-<h3 id="Notes" name="Notes">Notes</h3>
-
-<ul>
- <li>Notez que la numérotation de la position d'un n&amp;oelig:ud dans un contexte commence à 1. Le premier nœud a donc la position 1.</li>
-</ul>
-
-<ul>
- <li>Le contexte est déterminé par le reste du chemin :</li>
-</ul>
-
-<pre class="eval">&lt;xsl:template match="//a[position() = 5]"&gt;
- &lt;!-- cet exemple 'attrape' le cinquième élément "a"
- n'importe où dans le document. --&gt;
-&lt;/xsl:template&gt;
-</pre>
-
-<pre class="eval">&lt;xsl:template match="//div[@class='foo']/bar[position() = 1]"&gt;
- &lt;!-- cet exemple 'attrape' le premier
- élément "bar" enfant d'un élément "div"
- avec un attribut "class" valant "foo" --&gt;
-&lt;/xsl:template&gt;
-</pre>
-
-<h3 id="D.C3.A9finition" name="D.C3.A9finition">Définition</h3>
-
-<p><a class="external" href="http://www.w3.org/TR/xpath#function-position">XPath 1.0, section 4.1</a>.</p>
-
-<h3 id="Support_Gecko" name="Support_Gecko">Support Gecko</h3>
-
-<p>Supportée.</p>
-
-<p><span class="comment">Interwiki Languages Links</span></p>
-
-<div class="noinclude"> </div>
-
-<p>{{ languages( { "en": "en/XPath/Functions/position", "ja": "ja/XPath/Functions/position", "pl": "pl/XPath/Funkcje/position" } ) }}</p>