Hi Wendell,
I wonder if there's a way I could ask BaseX to invoke Saxon and ingest its transformation results? So I wouldn't have to cache the stuff on a disk. (Or maybe I should get myself that solid state drive. :-)
yes, there are lots of ways to do things as pipelining with BaseX, but you’ll have to dig a little bit deeper and do this in Java. I know too less about the Saxon API, but you could e.g. use the following Java code snippet to pass on an input stream to BaseX:
InputStream is = new ByteArrayInputStream("<a/>".getBytes()); Context ctx = new Context(); CreateDB cmd = new CreateDB("test"); cmd.setInput(is); cmd.execute(ctx); ctx.close();
Hope this helps, Christian