Re: What can a step implementation ask the pipeline processor?

On 5/17/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
>  [Wrt step implementations] The XPath context for evaluation of
>  user-authored xpath expressions evaluated by step implementations
>  SHOULD include at least all the *in-scope options* in the step
>  environment visible as bound (XPath) variables, along with
>  appropriate bindings for p:episode and p:document-position.

Regarding this second rule:

Yes, for the matching-documents components we are talking about.
No, in general. I wouldn't want to have a blanket statement of that
sort that applies to all the components. In particular, I wouldn't
want options to be exposed as variables to stylesheets, as there are
other more explicit and standard mechanisms to expose the value of a
pipeline option to a stylesheet (answer: use stylesheet parameters).

Alex
-- 
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/

Received on Tuesday, 22 May 2007 12:01:55 UTC