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

Re: Parameter value from an input port

From: Florent Georges <fgeorges@fgeorges.org>
Date: Thu, 9 Sep 2010 01:57:59 +0100
Message-ID: <AANLkTinG=+_kb=0suSRfnnrFubUpsNLpuuPOZOH=eZ-7@mail.gmail.com>
To: Bruce Chapman <bruce.chapman@nec.co.nz>
Cc: XProc Dev <xproc-dev@w3.org>
On 9 September 2010 01:04, Bruce Chapman wrote:

  Bruce,

> <p:with-param name="p" select="/doc/foo">
>     <p:pipe step="the-name-of-your-unnamed-declare-step"
>             port="input"/>
> </p:pipe>

  Yeah, that's it!  I think I've tried that before, but it seems I ran
into an NPE because the port is actually bound to a document-less
element node (which is probably a bad idea of my own, but that's
another story).

  Thank you,

-- 
Florent Georges
http://fgeorges.org/
Received on Thursday, 9 September 2010 00:58:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 September 2010 00:58:52 GMT