The
ancestor-or-self
axis selects the context node and
all nodes that contain it. For example,
id("p1")/ancestor-or-self::*
selects a node set
including Domeniquette Celeste Baudean's PERSON
element that has ID p1, its parent, the FAMILYTREE
element, and its parent, the root node. There's also no
abbreviation for the ancestor-or-self
axis.