xmlagg()

Aggregate. Concatenates all the XML values in the group and produces a single value.

Syntax

xmlagg ( value )

Parameters

value

The XML value represented as a string.

Usage

The function, which can be used only in aggregate streams or with event caches, returns a xmltype. Note that the xmltype cannot be stored directly in a record. To store the xml in the record you need to apply the xmlserialize function to convert the xmltype into a string.

Example

xmlagg ( xmlparse (stringCol) )