Method XmlNode():getNodes() Foundation
Gets all or a subset of subnodes.
:getNodes( [<bFilter>] ) --> aNodes
A codeblock representing a logical expression which is evaluated for each subnode. The codeblock receives as its first parameter the XmlNode() object for which the codeblock is evaluated. Only nodes for which the codeblock returns .T. (true) are added to the return array. If <bFilter> is not passed, all subnodes are added to the return array.
An array of XmlNode() objects representing the subnodes assigned to the node object.
The method :getNodes() collects all or a subset of subnodes assigned to a node object. By passing a codeblock in the optional <bFilter> parameter, a user-defined filter can be implemented so that :getNodes() returns only subnodes matching a certain criteria.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.