W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2010

Re: dynamic XProc?

From: Romain Deltour <rdeltour@gmail.com>
Date: Tue, 1 Jun 2010 21:19:16 +0200
Message-Id: <9818C7A1-35A8-4D7D-913D-0082ABB09287@gmail.com>
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:

And emx:eval in the recently announced Calumet 1.0.11:

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" ?


Romain Deltour, Software Developer/Architect
The DAISY Consortium

> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:53 UTC