%XML_ATTRLIST_DELETE

Release an XML attribute list

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
status = %XML_ATTRLIST_DELETE(attr_list)

Return value

status

XML_SUCCESS if the attribute list is successfully released.

Arguments

attr_list

The XML attribute list instance to release. (XML_ATTRLIST_TYPE)

Discussion

You will rarely need to call this function, because the %XML_DOC_DELETE function releases all memory for an XML document, including all attribute lists associated with the document. The only time you will need to release an individual attribute list is when the list was explicitly created with %XML_ATTRLIST_CREATE (and therefore would not be released as part of a document or list).

This function is defined as ^VAL.