Beyond this manual, you may also find the following sources of information useful when building a BDB XML application:
Introduction to Berkeley DB XML
Berkeley DB XML Getting Started with Transaction Processing for Java
Berkeley DB XML Javadoc