RE: Réf. : RE: Réf. : RE: xsl vs cocoon
I am not sure to understand what you want to do exactly. -Message d'origine- De: Othman Haddad [mailto:[EMAIL PROTECTED]] Date: mercredi 10 juillet 2002 11:15 À: [EMAIL PROTECTED] Objet: 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 : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Date : mercredi 10 juillet 2002 10:52:33 A : '[EMAIL PROTECTED]' mailto:[EMAIL PROTECTED] 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 : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Date : mercredi 10 juillet 2002 10:38:03 A : ' [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ' mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 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 http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] . http://www.incredimail.com/redir.asp?ad_id=312 http://www.incredimail.com/redir.asp?ad_id=312lang=12 lang=12 IncrediMail - La messagerie électronique a enfin évolué - http://www.incredimail.com/redir.asp?ad_id=312 http://www.incredimail.com/redir.asp?ad_id=312lang=12 lang=12 Cliquer ici http://www.incredimail.com/redir.asp?ad_id=312lang=12 IncrediMail - La messagerie électronique a enfin évolué - http://www.incredimail.com/redir.asp?ad_id=312lang=12 Cliquer ici ATT575595.gif Description: GIF image - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : RE: Réf. : RE: Réf. : RE: xsl vs cocoon
let say: i've an xsp which contains a file input: "x", the value of "x" represent xslt file which i want to apply on a "z.xml" file. any idea in cocoon2.02 to do that? ---Message original--- De : [EMAIL PROTECTED] Date : mercredi 10 juillet 2002 11:19:14 A : '[EMAIL PROTECTED]' Sujet : RE: Réf. : RE: Réf. : RE: xsl vs cocoon I am not sure to understand what you want to do exactly.-Message d'origine-De: Othman Haddad [mailto:[EMAIL PROTECTED]]Date: mercredi 10 juillet 2002 11:15À: [EMAIL PROTECTED]Objet: Réf. : RE: Réf. : RE: xsl vs cocoonWith 2.1-dev the RequestParameterInputModule can be used to to get the valueof a field in an xsp and select a pipeline in function of it ,but notbefore!!!do you have any other key to do that?---Message original---De : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Date : mercredi 10 juillet 2002 10:52:33A : '[EMAIL PROTECTED]' mailto:[EMAIL PROTECTED] Sujet : RE: Réf. : RE: xsl vs cocoon it's partially true, because right now (which is a pitty) there's nositemap element that can get a parameter value (which is sometimes veryimportant)... Can't you use an action to set a value for a sitemap variable, then use thatvariable inside you component description?hi,i agree with olivier,.., you can also make a component conditionnal depending on (for example) a request parameter value inthe HTTP requestit's partially true, because right now (which is a pitty) there's no sitemapelement that can get a parameter value (which is sometimes veryimportant)... regardsothman---Message original---De : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Date : mercredi 10 juillet 2002 10:38:03A : ' [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ' mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Sujet : RE: xsl vs cocoonSure.The sitemap.xmap file makes a mapping between URLsreceived from client side to a Cocoon "pipeline".A pipeline is a chain of java componentsthat create or modify a XML flux.For a given URL, Cocoon parses the sitemap.xmap, getsthe corresponding pipeline description, creates the corresponding chain of java components and launches the first components (it is called a generatorbecause it is the one which creates the XML flux,and sends it to the next component).There is no problem if you want to specifyseveral 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 inthe 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 theFAQ before posting. http://xml.apache.org/cocoon/faq/index.htmlhttp://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.htmlhttp://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] . http://www.incredimail.com/redir.asp?ad_id=312http://www.incredimail.com/redir.asp?ad_id=312lang=12 lang=12IncrediMail - Lamessagerie électronique a enfin évolué - http://www.incredimail.com/redir.asp?ad_id=312http://www.incredimail.com/redir.asp?ad_id=312lang=12 lang=12 Cliquerici http://www.incredimail.com/redir.asp?ad_id=312lang=12 IncrediMail - Lamessagerie électronique a enfin évolué -http://www.incredimail.com/redir.asp?ad_id=312lang=12 Cliquer ici IncrediMail - La messagerie électronique a enfin évolué - Cliquer ici