Berkeley DB XML Programmer's Reference Guide

Legal Notice

This documentation is distributed under an open source license. You may review the terms of this license at: http://www.oracle.com/technetwork/database/berkeleydb/downloads/xmloslicense-086890.html

Oracle, Berkeley DB, Berkeley DB XML and Sleepycat are trademarks or registered trademarks of Oracle. All rights to these marks are reserved. No third-party use is permitted without the express prior written consent of Oracle.

Other names may be trademarks of their respective owners.

To obtain a copy of this document's original source code, please submit a request to the Oracle Technology Network forum at: https://community.oracle.com/community/database/high_availability/berkeley_db_family/berkeley_db_xml

7/10/2015


Table of Contents

Preface
Conventions Used in this Book
For More Information
Contact Us
1. Introduction to Berkeley DB XML
Architecture
Document Storage
2. Building Berkeley DB XML for UNIX/POSIX systems
Using the buildall.sh Script
Preparing to build
Building Berkeley DB XML and third-party libraries
Configuring Berkeley DB XML and third-party libraries
Advanced Building and Troubleshooting
Building Individual Berkeley DB XML Libraries for UNIX
Building Individual Libraries
Configuring and building Berkeley DB XML
Building the Java API
Configuring Berkeley DB XML
Changing compilation and link options
Installing Berkeley DB XML
Dynamic shared libraries
Building and Using Berkeley DB XML Applications on UNIX/POSIX Systems
Building C++ Applications
Building Java Applications
Architecture Independent Build FAQ
AIX Build Notes
Solaris Build Notes
FreeBSD Build Notes
Mac OS X Build Notes
Cygwin Build Notes
3. Building Berkeley DB XML for Windows
Third Party Libraries
Building with Microsoft Visual Studio 2010 and 2012
Building with Microsoft Visual Studio 2008 and Express Edition
Building with Microsoft Visual Studio 2005
Building with Microsoft Visual C++ 2005 Express Edition
Running C++ Examples
Building the Java API with Visual Studio
Building the Tcl API
Building Tcl with Visual Studio
Disabling default compression
Using Berkeley DB XML on Windows
Berkeley DB XML Include File Locations
Berkeley DB XML Include File Locations
Berkeley DB XML DLL Names and Locations
Berkeley DB XML Binaries on Windows
Windows Installer Options
Installation Layout
General Note on Using Windows Binaries
Using C++ Runtime Libraries and Programs
Using Java Binaries
Installing and Using Python Binaries
Installing and Using Perl Binaries
Troubleshooting on Windows
Compiling Errors
Linking Errors
Execution Errors
4. Berkeley DB XML XQuery Extension Functions
fn:collection()
Parameters
URI Resolution in Berkeley DB XML
dbxml:contains()
fn:doc()
dbxml:lookup*()
dbxml:metadata()
dbxml:node*()
5. Upgrading Berkeley DB XML
Library Version Information
Upgrading Berkeley DB XML Applications to 2.3
Upgrading 2.x-based Containers
Upgrading Berkeley DB XML Applications to 2.2
Upgrading 2.0- or 2.1-based Containers
Change in dbxml shell default container type
Upgrading Berkeley DB XML Applications to 2.1
Upgrading existing containers
Upgrading Berkeley DB XML 1.2.X applications to Berkeley DB XML 2.0
New and Changed Features in 2.0
Migrating Berkeley DB XML C++ Applications
Migrating Berkeley DB XML Java Applications
Migrating Berkeley DB XML Data to 2.0
A. Berkeley DB XML Changelogs
Berkeley DB XML 6.0.18 Change Log
Berkeley DB XML 6.0.18 Change Log
Berkeley DB XML 6.0.17 Change Log
2.5 Release Overview
Berkeley DB XML 2.5.16 Change Log
Berkeley DB XML 2.5.13 Change Log
2.4 Release Overview
Changes in BDB XML 2.4.16
Berkeley DB XML 2.4.13 Change Log
Berkeley DB XML 2.3.10 Change Log
2.3 Release Overview
Changes in BDB XML 2.3.10
Changes in BDB XML 2.3.8
Berkeley DB XML 2.3.8 Change Log
Changes in BDB XML 2.3.8
Upgrade Requirements
New Features
API Changes
Changes That May Require Application Modification
General Functionality Changes
Utility Changes
Java-specific Functionality Changes
Python-specific Functionality Changes
PHP-specific Functionality Changes
Tcl-specific Functionality Changes
Configuration, Documentation, Portability and Build Changes
Berkeley DB XML 2.2.13 Change Log
Changes in BDB XML 2.2.13
Changes in BDB XML 2.2.8
Berkeley DB XML 2.2.8 Change Log
Upgrade Requirements
New Features
API Changes
General Functionality Changes
Utility Changes
Java-specific Functionality Changes
Perl-specific Functionality Changes
Python-specific Functionality Changes
Tcl-specific Functionality Changes
Configuration, Documentation, Portability and Build Changes
Berkeley DB XML 2.1.7 & 2.1.8 Change Log
Upgrade Requirements
New Features
API Changes
General Functionality Changes
Utility Changes
Java-specific Functionality Changes
Python-specific Functionality Changes
Perl-specific Functionality Changes
Tcl-specific Functionality Changes
Configuration, Documentation, Portability and Build Changes
Berkeley DB XML 2.0.7 & 2.0.9 Change Log
Upgrade Requirements
New Features
General Functionality Changes
API Changes
Java-specific API Changes
Python-specific API Changes
PHP-specific API Changes
Tcl-specific API Changes
Utility Changes
Configuration, Documentation, Portability and Build Changes
Berkeley DB XML 1.2.1 Change Log
Upgrade Requirements
New Features
General Functionality Changes
API Changes
Java-specific API Changes
Python-specific API Changes
Tcl-specific API Changes
Utility Changes
Configuration, Documentation, Portability and Build Changes
Berkeley DB XML 1.2.0 Change Log
Upgrade Requirements
New Features
General Functionality Changes
API Changes
Java-specific API Changes
Python-specific API Changes
Tcl-specific API Changes
Utility Changes
Configuration, Documentation, Portability and Build Changes
Known Issues