XML_Element.children
children
Group: Selections
Documentation
Gets the child elements of an XML element. children
only returns child elements and child text nodes that are not 100% whitespace. Other node types, such as comments, are not included.
Examples
XML_Document.from_text 'hello ' . root_element . children
# => [XML_Document.from_text "<baz>hello</baz>"]