Documentation Prolog Predicate Reference dom parent_of/2

parent_of/2

Get HTML parent of an HTML element.

Description

parent_of( +htmlObject, ?htmlObject )
parent_of( ?htmlObject, +htmlObject )

parent_of(Child, Parent) is true if and only if Parent is the inmediate parent of Child in the DOM tree. It can be used to get every Child of Parent as well.

Implementation