%XML_ATTR_COPY

Copy from one XML attribute to another

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

Return value

status

XML_SUCCESS if the copy is successful.

Arguments

destid

The destination attribute ID. (XML_ATTR_TYPE)

sourceid

The source attribute ID. (XML_ATTR_TYPE)

Discussion

The %XML_ATTR_COPY function copies the name and value from a source XML attribute to a destination XML attribute. The element object handle in destid must already exist before %XML_ATTR_COPY is called; it is not created automatically.

This function is defined as ^VAL.