XmlElement.GetDescendantElements(Text, Text) Method

Version: Available or changed with runtime version 1.0.

Gets a list containing the descendant elements for this element, in document order.

Syntax

DescendantElements :=   XmlElement.GetDescendantElements(LocalName: Text, NamespaceUri: Text)

Parameters

XmlElement
 Type: XmlElement
An instance of the XmlElement data type.

LocalName
 Type: Text
The local name of the elements to retrieve.

NamespaceUri
 Type: Text
The namespace URI of the elements to retrieve.

Return Value

DescendantElements
 Type: XmlNodeList
A list containing the descendant elements for this element, in document order.

XmlElement Data Type
Get Started with AL
Developing Extensions