You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Cocoon User <co...@eng.gr> on 2002/12/30 17:19:54 UTC

sitemap [if or select case]

hi people
is it possible to have any if or select case implementation

into sitemap.xmap?


i'm thinking to get a parameter from the requested URL
and then call pipelines relative the requested url parameter



thnx
stavros



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: sitemap [if or select case]

Posted by Luca Morandini <lu...@tin.it>.
Stavros,

I presume the ParameterSelector selector is the Cocoon component closest to your need.

Or, you may use WildcardRequestParameterMatcher to write pipelines checking request parameters' values instead of URIs... though
this is not EXACTLY a select/case construct.

See it for yourself at: http://xml.apache.org/cocoon/userdocs/concepts/matchers_selectors.html

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Cocoon User [mailto:cocoon@eng.gr]
> Sent: Monday, December 30, 2002 5:20 PM
> To: cocoon-users@xml.apache.org
> Subject: sitemap [if or select case]
>
>
>
> hi people
> is it possible to have any if or select case implementation
>
> into sitemap.xmap?
>
>
> i'm thinking to get a parameter from the requested URL
> and then call pipelines relative the requested url parameter
>
>
>
> thnx
> stavros
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>