XQuery
.
XQuery is a language that extracts the information from XML documents or databases. XQuery looks like similar to SQL. XML-QL
(XML Query Language) is applies as an add-on function to the RDBMS. The Relational QE
(query engine) parses the XML-QL and converts it into SQL. The SQL is executed inside the RDBMS to perform operations with the Storage Manager.
The Native XML database reserves the data of XML directly. Unlike Enabled database, the XML data will not undergo any conversion from XML format to SQL which increases the performance speed of the application. The storing and retrieval process of XML documents is done by XML Engine following the schemas defined. Below is the architecture of Native XML Database in which XML parser verifies the schema is correct or not and all the incoming data objects are well formed or not. The queries are performed using XQL.