The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

Get Method

Gets a node at the given index.

[Ok := ] XmlNodeList.Get(Index, Node)  


 Type: Integer
The one-based index into the list of nodes.

 Type: XmlNode
The XmlNode with the specified index in the list.

Return Value

 Type: Boolean
True if the operation was successful; otherwise, false.
If you omit this optional return value and the operation does not execute successfully, a run-time error will occur.

See Also

HTTP, JSON, TextBuilder, and XML API
Getting Started with AL
Developing Extensions