aggregation Attribute
Specifies how the nodes returned from an XPath expression in the node attribute should be aggregated to obtain a single value for the document.
Type
xsd:simpleType
Remarks
The aggregation attribute is an optional attribute of the field element.
The aggregation attribute can either be an aggregation action or an indication of the particular element in the collection. It uses the following aggregation actions: sum, count, average, min, max, first, last, merge, and plaintext.
Example
The following is an example of the aggregation attribute as it is used in the field element:
<xsf:listProperties>
<xsf:fields>
<xsf:field
type="xsd:date"
name="TravelDate"
columnName="TravelDate"
required="yes"
viewable="yes"
node="TravelReport/Header/travelDate"
aggregation="first"/>
</xsf:fields>
</xsf:listProperties>