|
Home > Online Product Documentation > Table of Contents > Configuring the BerkeleyDBXML.xml File Configuring the BerkeleyDBXML.xml FileYou need to configure the BerkeleyDBXML.xml file in order to be able to save XML documents back to a Berkeley DB XML container. Until you configure the BerkeleyDBXML.xml file as described in this section, any files you read from Berkeley DB XML are marked read-only and cannot be written back to Berkeley DB XML. The Berkeley Database EnvironmentThe Berkeley database has the concept of a database environment. The database environment is typically a directory that contains the log and lock files that provide support for transaction processing. This directory may also contain databases - files that contain user data. The containers in which Berkeley DB XML stores XML documents are examples of Berkeley databases and typically, though not always, have a .dbxml extension. To be able to determine what database environments exist in Berkeley DB XML, and which ones are associated with which containers, you need to These files are installed in the \bin\lib\sleepycat directory where you installed Stylus Studio ( c:\Program Files\Stylus Studio XML Professional Edition\bin\lib\sleepycat, for example). The BerkeleyDBXML.xml Configuration FileThe BerkeleyDBXML.xml configuration file contains elements that allow you to specify Berkeley DB XML database environments and directories: A finished BerkeleyDBXML.xml configuration file might look like this:
Omitting <dbdir> and <dbenv> elements
In some cases, it is not necessary do have any
If you use the
Specifying <dbdir> pathnames
Pathnames you specify for
The validate attribute
In Berkeley DB XML Version 2.0.7 and 2.0.9, the
How to Configure BerkeleyDBXML.xmlTo configure BerkeleyDBXML.xml:
1. Open the
BerkeleyDBXML.xml configuration file in Stylus Studio.
2. Specify the
<dbenv> and
<dbdir> elements as described in
The BerkeleyDBXML.xml Configuration File.
3. Click
Validate Document
4. If the
BerkeleyDBXML.xml configuration file is valid, save your changes.
You are ready to use Berkeley DB XML with Stylus Studio. Open the Output WindowThe first time you perform an operation on the Berkeley DB XML, Stylus Studio tries to process the BerkeleyDBML.xml file. As the file is processed, messages are written to the Stylus Studio Output window. These messages identify which database environments and directories are being processed. This can be a useful way to verify which directories Stylus Studio is associating with which database environment and identify when you might need to make a change in the BerkeleyDBXML.xml file. |
XSL and XSLT Tools
XSLT tools in Stylus Studio let you easily edit, debug, design and profile XSLT stylesheets using a powerful and intuitive graphical user interface.
Using OASIS XML Catalogs in Stylus Studio
Learn about Stylus Studio's XML catalog support and how to work with XML catalogs in your Stylus Studio XML projects.
XML Differencing
Stylus Studio's integrated XML Differencing tool visually computes and analyzes any changes made to files or folders in a highly configurable, XML-aware fashion. Display text or tree views, with changes displayed in a merged view or side-by-side!
Semiconductors & E-Components
Buuuuuzzzzz, zappp! There sure is a lot of electiricty flying with these semiconductors & c-component producers. It is because these top companies use Stylus Studio 2006 to light up their work day!