Gambas Documentation - /comp/gb.xml/xmlelement/childelements

# XmlElement.ChildElements (gb.xml)

Property Read ChildElements As XmlElement[]

Returns an array containing all the element children of this element. If the element has no children, or if none is an element, it returns an empty array.

This array is a copy of the one that contains the children of the element, so modifying it won't have any effect. If you want to add or remove a node to this element, see the AppendChild, PrependChild, RemoveChild, InsertBefore and InsertAfter methods.

### See also

- AllChildNodes,

- ChildNodes,

- AppendChild,

- RemoveChild