Questions tagged [berkeley-db-xml]

Berkeley DB XML is a C++ library that enables XML data storage and XQuery and XPath queries.

Berkeley DB XML is part of the Oracle Berkeley DB family of products. It is a C++ library that links into your application, enabling XML data storage and XQuery and XPath queries. It provides C++ & Java APIs and support for several scripting languages. It supports transactional and non-transactional operations, XML and/or key-value data storage and High Availability via replication. It's designed to be small, highly performant, reliable and scalable.

You can find more information about Berkeley DB XML in the following locations:

Product Homepage

Downloads

FAQ

Documentation

Primary technical discussion forum

.NET Implementation

32 questions
16
votes
8 answers

Is Berkeley DB XML a viable database backend?

Apparently, BDB-XML has been around since at least 2003 but I only recently stumbled upon it on Oracle's website: Berkeley DB XML. Here's the blurb: Oracle Berkeley DB XML is an open source, embeddable XML database with XQuery-based access to…
w00t
  • 17,944
  • 8
  • 54
  • 62
3
votes
1 answer

Could you make a case for using Berkeley DB XML

I'm trying to read through the documentation on Berkeley DB XML, and I think I could really use a developer's blog post or synopsis of when they had a problem that found the XML layer atop Berkeley DB was the exact prescription for. Maybe I'm not…
dlamblin
  • 43,965
  • 20
  • 101
  • 140
2
votes
3 answers

How to put multiple documents into Berkeley-DB XML container?

I have a directory with a bunch of XML documents and want to put all of them into a container. In other words, I need to do something like this: dbxml> putDocument tests/*.xml I have written a GUI program to do that but the host server does not…
user3111525
  • 5,013
  • 9
  • 39
  • 64
2
votes
1 answer

How to get document name from Berkeley DBXml

Is there any command or JAVA API option to get name list of documents available in the container.
Ragasudha
  • 31
  • 3
2
votes
1 answer

DBXML XQuery: move child to root of container

I am working with xquery updates in python and attempting to pull child elements out of the xml tree and insert them as new parent elements in the DBXML database. With the following xquery I was attempting to iterate each child and then insert the…
2
votes
1 answer

Is there a good documentation or your own instructions on how to install Berkeley DB XML Python API on Windows?

I am supposed to install Berkeley DB and Berkeley DB XML for the first time and have specifically struggled out of the IOError: No such file or directory db\include\db.h problem. But after that I encountered another problem: Namerror: name…
LEMUEL ADANE
  • 8,336
  • 16
  • 58
  • 72
1
vote
1 answer

Oracle - Berkeley DB XML Java API - XML query to get attribute values at multiple level

Evaluating Berkeley DB with Java APIs. Following is one of my test XML data:
ring bearer
  • 20,383
  • 7
  • 59
  • 72
1
vote
1 answer

Is Berkeley XMLDB container portable?

I created a container(pvs.dbxml) using Berkeley XMLDB 2.5.16 and moved the container to another machine. Below is the error I got while opening the container in new machine dbxml> openContainer pvs.dbxml stdin:1: openContainer failed, Error: Invalid…
Ragasudha
  • 31
  • 3
1
vote
1 answer

Is there a way to create a regular xml file with the data extracted from the container file?

Is there a way to create a regular xml file({filename}.xml) with the data extracted from the container file({filename}.dbxml)? I am wondering if there is a BDB XML query that enables the above question. If that is not possible, please let me know if…
user6158734
1
vote
1 answer

XQuery: comparing datetimes with milliseconds

I have a validation module in Python that executes an XQuery on an XML document to check if any times come after times, and return the count of them. The query is as follows: for $d at $count in ./ty:Detections/Detection …
tenwest
  • 2,058
  • 1
  • 13
  • 16
1
vote
0 answers

Composite query in Perl API of Berkeley DBXML

I need to do a composite query to my dbxml container from Perl and I can´t afford to do it. In SQL it would be like this: select * from books where ISBN='123' AND year='1994'; The and I wrote is the problem. I don´t know how to do it in bdbxml…
Eneko
  • 149
  • 1
  • 2
  • 13
1
vote
1 answer

Prioritizing data while sorting in DbXML

Using XQuery in DBXML I want to prioritize some elements depending on multiple nodes set to certain values. I want to be able to show three of this elements at the top and the rest below. 5550
Rcrd 009
  • 323
  • 6
  • 17
1
vote
0 answers

error testing perl module sleepycat dbxml

Has anyone come across and solved this problem with the sleepycat dbxml module. I built the module successfully but when I run 'make test' I get an error t/XmlManager.t ............. UNIVERSAL->import is deprecated and will be removed in a future…
spydadome
  • 325
  • 2
  • 9
0
votes
1 answer

berkely xml db as embedded db from java

I am looking around for some nice xml db , which would be embedded in my application. I want to use berkley db as embedded from my java application. That is i don't want to run berkley db as a service and access it , rather i want to embed from my…
Vineeth Mohan
  • 18,633
  • 8
  • 63
  • 77
0
votes
2 answers

Is there a python binding to the Berkeley DB XML database?

I'm trying to migrate some perl code to python and it uses Sleeypcat::DbXml 'simple' to get read access to a .dbxml file, creates a XmlManager, calls createQueryContext, openContainer and query to get an XmlValue. I have found…
snoopyjc
  • 621
  • 4
  • 11
1
2 3