From: "Carsten Ziegeler" <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]                  http://www.s-und-n.de
>                     http://ziegeler.bei.t-online.de
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to