W3C home > Mailing lists > Public > xproc-dev@w3.org > May 2009

Re: p:import

From: mozer <xmlizer@gmail.com>
Date: Sun, 24 May 2009 23:05:29 +0200
Message-ID: <21d9ade60905241405l18050b4t480dd6060dfbdff8@mail.gmail.com>
To: Dave Pawson <dave.pawson@gmail.com>
Cc: XProc Dev <xproc-dev@w3.org>
Dear,

Probably we can rephrase this problem (sorry for changing a little bit
the subject) of why we can't declare p:output of type parameter ?

Xmlizer

On Sun, May 24, 2009 at 4:56 PM, Dave Pawson <dave.pawson@gmail.com> wrote:
> 5.10 p:import
>
> An p:import loads a pipeline or pipeline library,
>
>
> So... I can't (or can I) use an import to simply
> import a long list of variables for use within the main pipeline?
>
> It is a static error (err:XS0052) if the URI of a p:import  ... once
> retrieved, it does not point to a p:library, p:declare-step, or
> p:pipeline.
>
> How about parameter inputs?
>
> <p:input
>  port = "dp:variables"
>  sequence? = "false"
>  primary? = "true"
>  kind = "parameter">
>   <p:document
>  href = "myvars.xml />
> </p:input>
>
> I guess these parameters are available for use within this step, if
> not globally?
>
> Any reason I can't repeat this parameter input for any step that needs
> access to these variables?
>
> regarsd
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> http://www.dpawson.co.uk
>
>
Received on Sunday, 24 May 2009 21:06:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 24 May 2009 21:06:10 GMT