Database Reference
In-Depth Information
2. Click the + icon under the Connections table and fill in the dialog, choosing
WebDAV (S)FTP as the data source. The URL to use in a default installation is
http://localhost:8080/exist/webdav/db/ . When you're developing, it's probably
easiest to connect as the admin user, as shown in Figure 14-3 .
Figure 14-3. Configuring a WebDAV connection in oXygen
3. Click the OK button on all dialogs and open the Data Source Explorer (the Win‐
dow→Show View→Data Source Explorer menu item). And hey presto! There is
your eXist database, exposed to you in all its beautiful detail.
Natively Connecting with oXygen
Besides going in through WebDAV, you can also connect oXygen to eXist natively.
This gives you many benefits, like the ability to get lists of available extension module
functions in your editor, validate queries with eXist (eXist's XQuery dialect is
checked, not straight XQuery), and even execution of XQuery files directly from
within the editor.
Setting up a native connection with eXist is extremely simple:
1. Go to the Options→Preferences menu and look for the Data Sources section.
Refer back to Figure 14-2 .
2. Click the link at the top of the dialog box labeled “Create eXist-db XML
connection.”
 
Search WWH ::




Custom Search