XMLConcat() function

The XMLConcat() function concatenates two XML objects (either two elements or two attributes) to produce a single XML object.

Syntax

The XMLExtract() function has two forms. One is for concatenating elements, and the other is for concatenating attributes.


XML = XMLConcat(XML inputa, XML inputb);
XML_Atrrib = XMLConcat(XML_Attrib inputa, XML_Attrib inputb);

The inputa value specifies the first XML object to concatenate.

The inputb value specifies the second XML object to concatenate.

Returns

The function returns type XML. It returns a compiled representation of the concatenated XML input objects as a single XML object. If either of the input XML objects is null, the function returns null.

Example

For an example of the use of the XMLConcat() function, see the XMLAgg() function example.