How to Configure an eXist Connection
To configure a connection to an eXist database, follow these steps:
- Open the Preferences dialog box (Options > Preferences) and go to Data Sources.
-
Click the
New button in the Connections panel.
- Enter a unique name for the connection.
- Select a previously configured eXist data source from the Data Source drop-down menu.
-
Enter the connection details.
- Set the URI to the installed eXist engine in the XML DB URI field.
- Set the user name in the User field.
- Set the password in the Password field.
-
Enter the start collection in the Collection field.
eXist organizes all documents in hierarchical collections. Collections are like directories. They are used to group related documents together. This text field allows the user to set the default collection name.
- Click the OK button to finish the connection configuration.
-
To view your connection, go to the Data Source Explorer view
(if the view is not displayed, it can be opened by selecting
it from the Window > Show View menu) or switch to the
Database
perspective.
For more information about running XQuery against an eXist XML database, watch our video demonstration: