The following example code the ancestors of the title element are the book element and the publisher element.
The structure of the ancestor flows from top to bottom:
<publisher> <product> <title>Quick Start Guide: R</title> <author>Olgun Aydin</author> <year>2018</year> </product></publisher>