Open topic with navigation
WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
element = %XML_ELEMLIST_ITEM(elem_list, index)
The XML element instance found, or 0 if not successful. (XML_ELEM_TYPE)
The XML element list instance. (XML_ELEMLIST_TYPE)
The index position of the element in the list. (n)
%XML_ELEMLIST_ITEM looks for an XML element by its index position. You can alternatively retrieve an element by its name using %XML_ELEMLIST_FIND or by its tag using %XML_ELEMLIST_FINDTAG.
This function is defined as ^VAL.
elem = %xml_elemlist_item(children, i)
For a complete example, see Example of parsing XML.