Finds parent node of this documentation node without taking care of the name attribute for enumeration.

This case is managed first because enumerations are contained by elements and
the method could climb to its parent without stopping on the enumeration tag.
Indeed, depending on the node, it may contain or not the attribute named "name" so we have to split each case.