Everyone,
Here's my situation:
I'm using XQJ. I have an xml document stored as a java string, and I want to
store this into an xquery collection. I see no way to do this without using
the BaseX-specific libraries. I've looked everywhere, and the only thing
I've found that's close is MonetDB's add-doc() function, but that takes a
url as an argument, not a string. I want to do something like:
insert node $document into collection("test"). Obviously this doesn't work
because collections are sequences.
Any info is appreciated.
-tjw