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


From: Erlend Hamnaberg <erlend@escenic.com>
Date: Wed, 21 Jul 2010 09:49:18 +0200
To: xproc-dev <xproc-dev@w3.org>
Message-ID: <1279698558.14625.10.camel@ltp-erha>
Hello guys and gals.

I have a question about usage of p:parameters.

Is it possible to use the p:parameters in a p:variable?

<p:parameters name="params">
    <p:input port="parameters">
      <p:pipe step="run-pipe" port="par"/>

  <p:variable name="pipeline"
    <p:pipe step="params" port="result"/>

This causes this error.

SEVERE: it is a static error for a variable's document connection to
refer to the output port of any step in the surrounding container's
contained steps

but if I wrap the p:variable in a p:group, with the usages of that
variable, then it works.

Is there any other way of extracting a parameter from the p:parameters


Erlend Hamnaberg
Systems developer                       + 47 908 26 329  (Mobile)
Escenic AS                              + 47 950 73 440  (switchboard)
Sommerogt. 13-15 Solli                  + 47 22 56 32 16 (fax)
N-0255 OSLO                             http://www.escenic.com/
Received on Wednesday, 21 July 2010 07:49:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:07 UTC