Altova MapForce 2022 Basic Edition

Returns the number of individual items making up the input sequence. The count of an empty set is zero.

mf-func-count

 

Languages

Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.

 

Note that this function has limited functionality in XSLT 1.0.

 

Parameters

Argument

Description

parent-context

Optional argument. Supplies the parent context. See also Example: Changing the Parent Context.

 

The parent-context argument is an optional argument in some MapForce core aggregation functions (e.g., min, max, avg, count). In a source component which has multiple hierarchical sequences, the parent context determines the set of nodes on which the function should operate.

nodes/rows

This argument must be connected to the source item to be counted.

 

Example

See Example: Changing the Parent Context.

© 2016-2022 Altova GmbH