Small omission at https://www.w3schools.com/xml/xml_tree.asp page. Please insert the closing tag </bookstore> at the end of the document as in XML, it is illegal to omit the closing tag. All elements must have a closing tag; like this.
The next line ends the bookstore root element:
</bookstore>
You can assume, from this example, that the XML document contains information about books in a bookstore.