|
|
|
||
|
If you're looking to do some simple XQuery work, Berkeley DB XML (BDBXML) seems to be a good answer. The XML that I was loading into the DB has a default namespace. For example:
<?xml version="1.0" encoding="UTF-8"?>
<item xmlns="http://example.org/item"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://example.org/item item.xsd">
<size>...</size>
...
<item>
Unfortunately BDBXML does not allow one to declare the default namespace:
xmlQueryContext.setNamespace("", "http://example.org/item");
You must bind a prefix to the namespace and use that in any XQuery / XPath:
[code]
xmlQueryContext.setNamespace("i", "http://example.org/item");
[query]
/i:item/i:size
|
|
||
|
For the life of me I could not think of the anyonym for anonymous (as in "I want to share data un-anonymously"). According to dictionary.com it is onymous. I am posting this in an onymous manner *grin*. |
|
||
|
We have recently updated our server. Response and performance should be much better. Please let us know if you have any problems. Comments are working again (just email me if they're ever broken again!) A big thanks goes out to Igor Fedulov for all of his help! |
|
|
Unless otherwise expressly stated, all original material of whatever nature created by Rob Grzywinski and included in this weblog and any related pages, including the weblog's archives, is licensed under a Creative Commons License. |