ancestors

fnAncestorsRange ancestors(XmlNode node) @safe

Returns an ancestor traversal range for node.

Parameters

nodeThe node whose ancestors to iterate.

Returns

An AncestorsRange starting from the parent of node.