Next Up Previous Contents
Next: node-list-filter
Up: Library code for Starlink DSSSL stylesheets
Previous: Anonymous routine
[ID index][Keyword index]

ancestors

Description

Return the mapping over nl of the function on a node that returns the ancestors of the node, where the ancestors of a node are an empty node-list if the node is a tree root, and otherwise are the result of appending the ancestors of the parent of the node and the parent of the node.

Argument list
nl = node-list (Given)

list of nodes we want the ancestors of

Return value

Type: node-list

List of ancestors

Authors

Next Up Previous Contents
Next: node-list-filter
Up: Library code for Starlink DSSSL stylesheets
Previous: Anonymous routine
[ID index][Keyword index]