find All Ancestors
Type: Function
Deprecated!
Use XPath/XQuery to do this. Refer to the examples page for an example on how to do this.
Find all ancestors of a given node
Refer to domQuery for more information on how to import and use this function.
Arguments
node
(Required)
Type: Node
inclusive
(Required)
Type: Boolean
Default value
Returns
Type: Array<Node>