findAllAncestors

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

  1. node

    (Required)

    Type: FontoNode | Node

  2. inclusive

    (Required)

    Type: Boolean

    Default value

Returns

Type: Array<FontoNode> | Array<Node>