From: Ari N. <ari...@gm...> - 2021-03-31 22:30:55
|
Hi, I think Norm is busy with work and real life, but I know the Calabash XProc 3.0 version is in the works. You should look into Morgana XProc for XProc 3.0 support in the meantime. As for running a sequence of XQueries with one providing the input to the next, I assume you'd want to do it in an eXist context? If so, XProc remains a rather painful option as it's not well supported. I'd go with an XQ wrapper instead. I did something very similar to run XSLT stylesheets in sequence in eXist. I had done it in XProc and Calabash on the file system but getting XProc to work in eXist proved to be too much of a pain so I reimplemented the pipeline in XQ instead. My XProc and XQuery are both on GitHub: https://github.com/sgmlguru/xproc-batch It should be fairly uncomplicated to modify the XQuery to run XQueries instead. Best, /Ari On Wed, 31 Mar 2021, 21:38 Gary Kopp, <ge...@ru...> wrote: > The last update to xquery-xproc-xmlcalabash-module was about a year ago. > The README itemizes some current limitations. I would like to know if the > following limitations are still applicable, and if so can you suggest any > workarounds: > > > > “Function signature will change soon to accept XML for *pipeline*, > *output*, as well as specify input/output/parameter ports and options... > for now it's primitive” > > > > “p:xquery has no context with eXist, this is a big limitation, but there > are several ways around this” > > > > I’m new to XProc, and have a lot of studying and experimentation to do. > All I really want to accomplish is to link multiple XQuery scripts together > so that the XML generated in one script is used as input in a FLWOR in the > next script, without explicitly creating temporary documents in the > database. I’m _*assuming*_ that is possible with XProc, but please > correct me if I’m wrong and I’ll abandon this line of attack. Thanks! > > > > --Gary Kopp > > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |