XPointers cannot be 100% robust
To increase the chance that they won’t break:
- Point to an ID if the desired element has one
- If not, point to the ID of the nearest ancestor, then walk down
- Or point to the ID of the nearest sibling or descendant and walk across/up
- Refer to the element type so insertions/deletions of other types won’t cause problems