blob: 85c635e83c76b439fd3a4b7309cb4453763359e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---
title: count
slug: Web/XPath/Functions/count
tags:
- Référence_XSLT
translation_of: Web/XPath/Functions/count
original_slug: Web/XPath/Fonctions/count
---
{{ XsltRef() }}
La fonction `count` compte le nombre de nœuds dans un ensemble de nœuds et retourne un entier.
### Syntaxe
count( ensemble-de-nœuds )
### Arguments
- `ensemble-de-nœuds`
- : L'ensemble de nœuds à compter.
### Retour
Un entier représentant le nombre de nœuds contenus dans l'ensemble.
### Définition
[1.0, section 4.1](http://www.w3.org/TR/xpath#function-count).
### Support Gecko
Supportée.
|