%XML_ATTRLIST_COPY

Copy attributes from one XML attribute list to another

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

Return value

status

XML_SUCCESS if the copy is successful.

Arguments

destid

The destination attribute list ID. (XML_ATTRLIST_TYPE)

sourceid

The source attribute list ID. (XML_ATTRLIST_TYPE)

Discussion

The %XML_ATTRLIST_COPY function copies a list of attributes from a source XML attribute list to a destination XML attribute list. The contents of the destination list are cleared before the copy is done. The element object handle in destid must already exist before %XML_ATTRLIST_COPY is called; it is not created automatically.

This function is defined as ^VAL.