The main input is a URL for a specific XML document. Specifying a main input is an alternative to using the XQuery document()
function in your XQuery code. When you specify a main input document, expressions like \books\book
in your XQuery code are evaluated in the context of that document.