You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Othman Haddad <oh...@neomalogic.com> on 2002/07/10 11:15:07 UTC

Réf. : RE: Réf. : RE: xsl vs cocoon

With 2.1-dev the RequestParameterInputModule can be used to to get the value
of a field in an xsp and select a pipeline in function of it ,but not
before!!!
do you have any other key to do that?

-------Message original-------

De : cocoon-users@xml.apache.org
Date : mercredi 10 juillet 2002 10:52:33
A : 'cocoon-users@xml.apache.org'
Sujet : RE: Réf. : RE: xsl vs cocoon

> it's partially true, because right now (which is a pitty) there's no
sitemap element that can get a parameter value (which is sometimes very
important)... 

Can't you use an action to set a value for a sitemap variable, then use that
variable inside you component description?


hi,
i agree with olivier,..
>, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request

it's partially true, because right now (which is a pitty) there's no sitemap
element that can get a parameter value (which is sometimes very
important)... 




regards
othman

-------Message original-------

De : cocoon-users@xml.apache.org <ma...@xml.apache.org> 
Date : mercredi 10 juillet 2002 10:38:03
A : 'cocoon-users@xml.apache.org' <ma...@xml.apache.org> 
Sujet : RE: xsl vs cocoon

Sure.

The sitemap.xmap file makes a mapping between URLs
received from client side to a Cocoon "pipeline".

A pipeline is a chain of java components
that create or modify a XML flux.

For a given URL, Cocoon parses the sitemap.xmap, gets
the corresponding pipeline description, creates 
the corresponding chain of java components and launches 
the first components (it is called a generator
because it is the one which creates the XML flux,
and sends it to the next component).

There is no problem if you want to specify
several XSLT components inside your pipeline.

Advanced feature:
When describing a pipeline in sitemap.xmap, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request, or may be the speed of the wind
(yes Cocoon is marvellous :-)

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

To unsubscribe, e-mail: < cocoon-users-unsubscribe@xml.apache.org
<ma...@xml.apache.org> >
For additional commands, e-mail: < cocoon-users-help@xml.apache.org
<ma...@xml.apache.org> >


.


________________________________________________________________
<http://www.incredimail.com/redir.asp?ad_id=312&lang=12> IncrediMail - La
messagerie électronique a enfin évolué -
<http://www.incredimail.com/redir.asp?ad_id=312&lang=12> Cliquer ici