%XML_ATTRLIST_ITEM

Find an attribute in an XML attribute list by position

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
attr = %XML_ATTRLIST_ITEM(attr_list, index)

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)

index

The index position of the attribute in the list. (n)

Discussion

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

This function is defined as ^VAL.