cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Piroumian <kpiroum...@apache.org>
Subject Re: [Proposal] Sitemap parameters
Date Wed, 29 May 2002 14:06:07 GMT
From: "Carsten Ziegeler" <cziegeler@s-und-n.de>
>
> Konstantin Piroumian wrote:
> >
> > >
> > > You can configure the global parameters in the map:pipelines section:
> > > <map:pipelines>
> > >   <map:global-parameters>
> > >      <map:parameter name="skin" value="forrest-skin"/>
> > >   </map:global-parameters>
> >
> > One question: why 'global-parameters' and not simply 'parameters'?
> >
> Hmm, I first named it 'parameters' and then I tried 'global-parameters'
> and I thought it's a better fit, because these parameters are global
> to all pipeline sections. They are not for the map:pipelines element
> itself.

Yes, you're right, but maybe they could be declared without a wrapping
element? Simply:
<map:pipelines>
    <map:parameter name="" value="" />
    ...
</map:pipelines>

It seems to me more intuitive and similar to XSLT syntax.

Konstantin

>
> But if wanted, changing the name is really a 30sec work.
>
> Carsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message