Another way to think of relative location terms
From first step:
- Has no child elements
- Has no descendant elements
- Count left for ancestor elements
- Count up for preceding elements
- Count down for following elements
- Has no psibling elements
- Has only one fsibling element