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 13:56:27 GMT
From: "Carsten Ziegeler" <cziegeler@s-und-n.de>
> Stuart Roebuck wrote:
...
> > >
> > > <map:parameter name="skin" value="forrest-skin" />
> >
> > Just to say that this kind of functionality would be *really* useful.
> >
> And now the good news: it's already implemented in the latest CVS :)

You are very quick :)

> 
> 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'?

Konstantin

> 
> and use it:
> 
>   <map:pipeline>
>     <map:match pattern="test">
>        ...
>        <map:transform src="{../skin}.xsl"/>
>     </map:match>
> ...
> 
> Carsten
> 
> Carsten Ziegeler     Chief Architect     Open Source Group, S&N AG
> ------------------------------------------------------------------
>              Cocoon Consulting, Training and Projects
> ------------------------------------------------------------------
> mailto:cziegeler@s-und-n.de                  http://www.s-und-n.de
>                     http://ziegeler.bei.t-online.de
> 
> 
> ---------------------------------------------------------------------
> 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