%XML_ELEM_COPY

Copy from one XML element to another

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
status = %XML_ELEM_COPY(destid, sourceid)

Return value

status

XML_SUCCESS if the copy is successful.

Arguments

destid

The destination element ID. (XML_ELEM_TYPE)

sourceid

The source element ID. (XML_ELEM_TYPE)

Discussion

The %XML_ELEM_COPY function copies the name, text, attributes, and children from one XML element to another. The element object handle in destid must already exist before %XML_ELEM_COPY is called; it is not created automatically.

This function is defined as ^VAL.