![]()  | 
 
  
  | 
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]()  | 
    |||||
| Related Syntax | ||
| operator | 
preparent is
 | 
|
Return type: Boolean Returns true if the given preparent is an ancestor of the element, false otherwise. Replacing 
Returns:       is with isnt will reverse the results. 
Syntax
preparent element-qualifier* (is | isnt) (element-name | element-name-list)
A test that checks to see whether a specified element has a preparent (ancestor of a parent) with a given element-name. In other words, it answers the question: Is the given preparent an ancestor of the specified element?
| 
Related Syntax ancestor is element parent is  |