Database Reference
In-Depth Information
to another. For instance, if you look at the database through the dashboard's collec‐
tion browser, you'll find copy and paste facilities. However, sometimes you have to
export and import content from the filesystem, so that's a good place to start our
quest.
eXist Terminology
To prevent you from getting confused, let's introduce some eXist terms to you first:
Collections
What you may typically think of as a directory or folder in the filesystem world, is
actually called a collection inside eXist's database. There are some subtle and
important differences with collections that you will learn about shortly.
Resources
What is called a file in the filesystem world is called a resource inside eXist's data‐
base. Resources can be anything you usually store in a file: images, CSS files,
XQuery scripts, and, of course, XML documents.
Documents
A resource containing well-formed XML is called a document .
See also “Terminology” on page 88 .
Exporting Documents from eXist
First, we're going to export the documents from eXist (afterward, we'll pretend they
came from somewhere else). If you have a WebDAV connection set up (see “Getting
Files into and out of the Database” on page 30 ), this is really easy: just drag and drop
the necessary files from the eXist collection to somewhere on your filesystem. If you
don't (yet) have WebDAV working, you can use the Java Admin Client as follows:
1. Start the Java Admin Client by clicking the eXist application icon in your system
tray (see “Starting and Stopping eXist with a GUI” on page 23 ) and choose Open
Java Admin Client . You'll see the screen shown in Figure 3-1 .
Search WWH ::




Custom Search