Hello MonetDB developers,
In my quest to develop an object oriented interface to monetdb/xquery
on ruby using datamapper, I've stumbled upon the following problem. It
is at this moment impossible to add a document to monetdb that does
not have a source outside monetdb. The only function to add documents
to monetdb seems to be pf:add-doc, which takes an url parameter with a
location of an xml document it should import. To fully abstract the
database from the ruby application, it would be nice if the developers
could add a new (empty) document to the database.
Would it be a nice idea to have the following function:
pf:new-doc("document_name.xml"[,
"collection_name.xml"[,"<some><initial>content</initial></some>"]])
It would make users of my api a little happier, and perhaps
MonetDB/XQuery as a whole, a bit more normal ;)
Kind regards,
Tinco Andringa
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers