The attribute axis selects an attribute node of the source node.
attribute
/descendant::SPOUSE/attribute::IDREF
/descendant::PERSON[attribute::FATHER="p2"]