%XML_ELEMLIST_COPY

Copy an XML element list to another list

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
status = %XML_ELEMLIST_COPY(dest_list, source_list)

Return value

status

XML_SUCCESS if the list was copied successfully.

Arguments

dest_list

The element list instance to copy to. (XML_ELEMLIST_TYPE)

source_list

The element list instance to copy from. (XML_ELEMLIST_TYPE)

Discussion

If the destination and source lists are not the same, %XML_ELEMLIST_COPY clears the destination list and copies every XML element from the source list to the destination list. The element object handle in destid must already exist before %XML_ELEMLIST_COPY is called; it is not created automatically.

This function is defined as ^VAL.