Returns a function that, for the elements of the source sequence passed to
that function, returns the concatenated sequences of ancestors of such
elements, including the elements themselves, in reverse document order.
If a name is provided, the resulting sequence contains only those elements
and ancestors having a matching name.
Returns
A function that will return a flat sequence of ancestors, including
the elements, in reverse document order.
Returns a function that, for the elements of the source sequence passed to that function, returns the concatenated sequences of ancestors of such elements, including the elements themselves, in reverse document order.
If a name is provided, the resulting sequence contains only those elements and ancestors having a matching name.
Returns
A function that will return a flat sequence of ancestors, including the elements, in reverse document order.