Re: Options or parameters

On 5/3/07, Norman Walsh <ndw@nwalsh.com> wrote:
>
> / ht@inf.ed.ac.uk (Henry S. Thompson) was heard to say:
> |   3) No more parameter importing -- it likewise serves no purpose --
> |      all in-scope parameters are available to a step.
>
> I think that's too radical.
>
> What if I have a pipeline that invokes two stylesheets. Both understand
> the "foo" parameter but I explicitly do not want it set on one of them.
>
> |   4) But preventing parameter name clashes _is_ sometimes needed, so
> |      replace p:import-parameters with
> |
> |        <p:parameters from-ns="...." to-ns="...."/>
>
> I guess I could use this trick to work around it, but it seems really
> tedious.
>
> Better, I think, to make parameter passing to steps explicit.


I agree that parameter passing should be explicit too


                                        Be seeing you,
>                                           norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | Science is like sex: sometimes
> http://nwalsh.com/            | something useful comes out, but that is
>                               | not the reason we are doing
>                               | it.--Richard Feynman
>
>


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Thursday, 3 May 2007 14:57:17 UTC