Re: p:import

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 UTC