Introduction to Berkeley DB XML

Legal Notice

This documentation is distributed under an open source license. You may review the terms of this license at:

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.

Java™ and all Java-based marks are a trademark or registered trademark of Sun Microsystems, Inc, in the United States and other countries.

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:


Table of Contents

1. Overview
Basic Concepts
Running the Shell
Getting Help
2. XQuery and Berkeley DB XML
Adding Data
Queries Involving Document Structure
Value Queries
Introducing Indices
Reshaping the Result
Sorting the Result
Working with Data from Multiple Containers
Working with Data from a Specific Document
Using Metadata
Modifying Documents
Schema Constraints
The Berkeley DB XML API
3. Wrapping Up
XML Features
Database Features
Languages and Platforms
4. Where to Learn More
Berkeley DB XML Resources
Contact Us
XML Resources
XQuery Resources