getNumChildElements() (tick_24Validator Engine Only)

int getNumChildElements(string $element)

Returns the number of child elements (of type $element) that the element currently being ended has (0 or greater).

This function is supported only in CSE HTML Validator v14.9914 and later.