%XML_ATTRLIST_FIND

Find an attribute in an XML attribute list by name

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
attr = %XML_ATTRLIST_FIND(attr_list, attr_name)

Return value

attr

The XML attribute instance if found, or 0 if not found. (XML_ATTR_TYPE)

Arguments

attr_list

The XML attribute list instance. (XML_ATTRLIST_TYPE)

attr_name

The name of the attribute to find. (a)

Discussion

%XML_ATTRLIST_FIND looks for the first attribute with the specified name in an XML attribute list. You can alternatively retrieve an attribute by its index position using %XML_ATTRLIST_ITEM.

This function is defined as ^VAL.