Parent

Each element and attribute should have a parent node.

The following example shows that the product element is the parent of the title, author, and year elements:

<product>  <title>Quick Start Guide: R</title>  <author>Olgun Aydin</author>  <year>2018</year></product>

Get R Web Scraping Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.