W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2011

Re: Initialize a variable with a parameter port

From: Florent Georges <fgeorges@fgeorges.org>
Date: Tue, 22 Nov 2011 01:18:32 +0100
Message-ID: <CADyR_r2U7gCn9c7EwHq77i_Gz8nZg_Fid6LuGQFUMqR+h-itnQ@mail.gmail.com>
To: Geert Josten <geert.josten@dayon.nl>
Cc: Norman Walsh <ndw@nwalsh.com>, XProc Dev <xproc-dev@w3.org>
On 21 November 2011 21:57, Geert Josten wrote:


> You can put it just below your inputs, outputs and options as a
> simple <ut:parameters name="params"/>. After that you have to
> use a p:group, and declare p:variables at the top of that with
> a <p:pipe step="params" port="parameters"/>.

  Yes, that's more or less what I had in mind too.  The problem
for a generic step is that you have to choose between a sequence
or not for the primary input port (which is supposed to be the
pass-through).  Probably both ut:parameters and ut:parameters-seq
would make sense then...

  Nice library of tools, BTW :-)


Florent Georges
Received on Tuesday, 22 November 2011 00:19:23 UTC

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