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

SelectNodes Method

Selects a list of nodes matching the XPath expression.

[Ok := ] XmlElement.SelectNodes(XPath, NodeList)  

Parameters

XPath
 Type: String
The XPath expression.

NodeList
 Type: XmlNodeList
An XmlNodeList containing a collection of nodes matching the XPath expression.

Return Value

Ok
 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

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