The <document> tag sits at the highest level of the .xml document. It must enclose all the code in the .xml document except the very first line of the document, which must be:

<?xml version="1.0" encoding="UTF-8"?>

The <document> tag is required.

Child of: Nothing
Parent of: All other tags


Working example: Search for <document>...</document> in the file trivia_demo.xml.