%XML_ELEM_CHILDREN

Get children of an XML element

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
elem_list = %XML_ELEM_CHILDREN(element)

Return value

elem_list

A list of all child elements of the specified XML element. (XML_ELEMLIST_TYPE)

Arguments

element

The XML element instance for which to return a list of child elements. (XML_ELEM_TYPE)

Discussion

To obtain a list of child elements for an XML element, call %XML_ELEM_CHILDREN.

This function is defined as ^VAL.

Examples

children = %xml_elem_children(root)

For a complete example, see Example of parsing XML.