Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. XML
  3. XPath
  4. Reference
  5. Functions
  6. sum

sum

Thesum function returns a number that is the sum of the numeric values of each node in a given node-set.

Syntax

sum(node-set)

Parameters

node-set

The node-set to be evaluated. Each node in this node-set is evaluated as if it were passed to thenumber() function, and a sum of the resulting numbers is returned.

Return value

A number.

Description

None.

Specifications

XPath 1.0 4.3

Gecko support

Supported.

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp