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

p:import

From: Dave Pawson <dave.pawson@gmail.com>
Date: Sun, 24 May 2009 15:56:46 +0100
Message-ID: <711a73df0905240756j3732122bq7a9502bb203a302a@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>
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 14:57:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 24 May 2009 14:57:22 GMT