%XML_ATTR_COPY

Copy from one XML attribute to another

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
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.