- From: Romain Deltour <rdeltour@gmail.com>
- Date: Tue, 1 Jun 2010 21:19:16 +0200
- To: xproc-dev@w3.org
Hi Wendell, > Okay, so what if I want to run a stylesheet, generate an XProc, and > run it? > Can I do this natively in XProc, or do I have to resort to other > means? As far as I know (I'm quite new to XProc) this is not natively supported in XProc. But some processors are providing some 'eval' extension steps. See cx:eval in Calabash: http://xmlcalabash.com/extension/steps/#cx.eval And emx:eval in the recently announced Calumet 1.0.11: http://markmail.org/message/yvdby2d3ws35obvr Also, be aware that designing an 'eval' step that allows the execution of any pipeline (which can have many signatures) is certainly not trivial (see an email from Vojtech Toman on the issue: <http://markmail.org/message/43ke2sa6yksa2uje >). Calabash's cx:eval deal with this complexity by allowing to "multiplex" the several input/output ports to a single port on the eval step (read the doc for more details). I don't know how Calumet's implementation works. > > Does the list have any other ideas for how to approach the question > of dynamic pipelines? The use case I am envisioning is that a user > writes a small XML document that serves to configure a pipeline -- > which transformations are run (from a library of choices), what are > their runtime parameters, etc. The format of the XML would be > designed so that the user did not have to think in terms of the > pipeline being configured, but only in terms of the processes > themselves -- their sequence, the inputs peculiar to them, and so > forth. Interesting idea. But I am having trouble understanding how the suggested simplified XML document would be different for an actual XProc document ? To my understanding XProc precisely allows to specify "which transformations are run (from a library of choices), what are their runtime parameters, etc"... Can you please clarify what you mean by "pipeline being configured" vs "processes themselves" ? BR, Romain. -- Romain Deltour, Software Developer/Architect The DAISY Consortium http://www.daisy.org > > Any ideas would be welcome, however obvious. > > Cheers, > Wendell > > > ====================================================================== > Wendell Piez mailto:wapiez@mulberrytech.com > Mulberry Technologies, Inc. http://www.mulberrytech.com > 17 West Jefferson Street Direct Phone: 301/315-9635 > Suite 207 Phone: 301/315-9631 > Rockville, MD 20850 Fax: 301/315-8285 > ---------------------------------------------------------------------- > Mulberry Technologies: A Consultancy Specializing in SGML and XML > ====================================================================== > >
Received on Tuesday, 1 June 2010 19:19:52 UTC