XmlDocument.GetDescendantElements(Text, Text) Method

Version: Available or changed with runtime version 1.0.

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

Syntax

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

Parameters

XmlDocument
 Type: XmlDocument
An instance of the XmlDocument 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 document, in document order.

XmlDocument Data Type
Get Started with AL
Developing Extensions