From: James A. Robinson <jim.robinson@st...> - 2006-12-22 11:10:08
We've been playing around with the idea of making some heavy use of
Saxon's XQuery engine in a new system we're building, and I'd like to
ask if anyone here might have tested and/or deployed a similar system.
We've got this license for the MarkLogic Content Server XQuery enabled
XML database, and it's all shiny and happy and everything. However, it
struck some of us that it might be really cool if we could deploy a
handful of Saxon based servlets to serve up 'views' of the mass of data
we might be maintaining in MarkLogic CS.
We've been playing around with the idea of moving some of our data
away from relational databases and into XML documents in a filesystem
hierarchy. For example, you could lay out a directory path
and within each level of that tree you might have one or more .xml files,
probably fairly small, containing metadata (e.g., the Display Name for
an Issue, it's publication date, the name of the editor, etc.)
We've been seeing if we can use doc() to pull in these small files and
use them to then further drive navigation around the filesystem. For
example, an issue might list all its child articles. One could open
the issue metadata XML, then start to examine each child in turn
for $art in doc($issue)/*/art:article
if ($art/@pub:time = $check)
and so forth. You can also do things like walk up the tree by checking
for content at the resolve("../metadata.xml", .) or something.
What we've been hoping is to be able to show that for some subset of our
metadata (e.g., restricted to one journal) we might be able to have what
is effectively an in-memory Saxon based XQuery database.
Anyone have any comments on this idea? Is it just crazy? Thanks for
any advice you might wish to share. :)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson jim.robinson@...
Stanford University HighWire Press http://highwire.stanford.edu/
+1 650 7237294 (Work) +1 650 7259335 (Fax)
Get latest updates about Open Source Projects, Conferences and News.