pureXML data model
The pureXML data model follows the XPath 2.0 and the XQuery 1.0 data model. This data model provides an abstract representation of one or more XML documents or fragments.
The purpose of the data model is to define all permissible values of expressions in XQuery, including values that are used during intermediate calculations. Every XQuery expression takes as its input an instance of the data model and returns an instance of the data model. The pureXML data model is described in terms of sequences and items, atomic values, and nodes.