|Home | Getting Started | Documentation | Demo | Download | Support|
In this section we present several examples of using the utilities described in the previous sections. These examples demonstrate how to create the database, run the Sedna server and the database, load documents into the database, run the query over the database, and finally stop Sedna.
To run Sedna, type the following command:
For creating a database named xmark with default settings use the following command:
After execution of these commands the created database can be started up. To do it, type the following command:
The xmark database is ready for serving user queries. Below we show how to load an XML document to the xmark database and how to write a queries over this document.
To load the XML document into the xmark database, pass the following steps:
To stop Sedna and all its components and databases, type and enter the following command: