Element.childElements

Element[] childElements(string tagName = null) @property

Returns child elements which are of a tag type (excludes text, comments, etc.).

childElements of <example>text <b>bold</b></example> is just the <b> tag.

Parameters

tagNamefilter results to only the child elements with the given tag name.