aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/xpath/functions/count/index.html
blob: 6883cfc04b61fa300d72f651186d50258fe4e23b (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
title: count
slug: Web/XPath/Functions/count
tags:
  - XSLT
  - XSLT_Reference
translation_of: Web/XPath/Functions/count
---
<p>{{ XsltRef() }}</p>

<p><code>count</code> 関数はノード集合に含まれるノードの数を数え、その整数を返します。</p>

<p>{{ 英語版章題("Syntax") }}</p>

<h3 id=".E6.A7.8B.E6.96.87" name=".E6.A7.8B.E6.96.87">構文</h3>

<pre class="eval">count(<em>node-set</em> )
</pre>

<p>{{ 英語版章題("Arguments") }}</p>

<h3 id=".E5.BC.95.E6.95.B0" name=".E5.BC.95.E6.95.B0">引数</h3>

<dl>
 <dt><code><em>node-set</em></code></dt>
 <dd>カウント対象のノード集合。</dd>
</dl>

<p>{{ 英語版章題("Returns") }}</p>

<h3 id=".E6.88.BB.E3.82.8A.E5.80.A4" name=".E6.88.BB.E3.82.8A.E5.80.A4">戻り値</h3>

<p>ノード集合に含まれるノードの数を表す整数。</p>

<p>{{ 英語版章題("Defined") }}</p>

<h3 id=".E5.AE.9A.E7.BE.A9" name=".E5.AE.9A.E7.BE.A9">定義</h3>

<p><a class="external" href="http://www.w3.org/TR/xpath#function-count">XPath 1.0 4.1</a></p>

<p>{{ 英語版章題("Gecko support") }}</p>

<h3 id="Gecko_.E3.81.A7.E3.81.AE.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88" name="Gecko_.E3.81.A7.E3.81.AE.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88">Gecko でのサポート</h3>

<p>サポート済み。</p>

<div class="noinclude">{{ languages( { "en": "en/XPath/Functions/count", "fr": "fr/XPath/Fonctions/count", "pl": "pl/XPath/Funkcje/count" } ) }}</div>