isChildOf() (tick_24Validator Engine Only)

int isChildOf(string $elem1[, string $elem2...])

Returns 1 if the parent of the current element is $elem1, 2 if the parent is $elem2, etc.

Returns 0 if the parent of the current element is not one of the arguments.

Performs case-insensitive compares.

Use only in tag name start, tag name end, attribute, and attribute value programs.

This function is supported only in CSE HTML Validator v11.00 and later.