From: "Carsten Ziegeler" <[EMAIL PROTECTED]>

> 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>
>
> and use it:
>
>   <map:pipeline>
>     <map:match pattern="test">
>        ...
>        <map:transform src="{../skin}.xsl"/>
>     </map:match>
> ...

:-)

Is there a way to set the parameter out of the sitemap?
It seems that using inputmodules one could write:

 <map:pipelines>
   <map:global-parameters>
      <map:parameter name="skin" value="{request:skin}"/>
   </map:global-parameters>
...

which could be really cool, since it gives both the possibility of setting
it from the outside and setting it in a single point.
It seems that both approaches have their use :-)

--
Nicola Ken Barozzi                   [EMAIL PROTECTED]
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


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

Reply via email to