Gambas Documentation - /comp/gb.xml/xmldocument/getelementsbynamespace

/comp/gb.xml/xmldocument/getelementsbynamespace

# XmlDocument.GetElementsByNamespace (gb.xml)

Function GetElementsByNamespace ( Namespace As String [ , Mode As Integer, Depth As Integer ] ) As XmlElement[]

Returns all the elements of the document whose namespace prefix matches Name.

The Mode argument defines the comparison method used. It supports GB.Binary, GB.IgnoreCase and GB.Like.
See Predefined Constants for further information.

The Depth argument defines where to stop the search : a negative value will stop only at the end of the tree (default), `1` will check only the root element, `2` will check only the direct children of the root element, and so on ...