Remove parsing redundency by supporting relative XPath on elements and choosing the body dynamically based on the header position.