RE: Can I do this?
If I understand your request right you would have to write a custom input module or an action if you want to do something special with a request paramter. Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:07 AM To: [EMAIL PROTECTED] Subject: Re: Can I do this? It's really working :) Thanks ! :) I just have one problem, if I search for two terms it goes as term1+term2 and it produces no results, as well if i type them under quotes, like term1 term2 :| Can I parse the querystring on the fly ? Thanks - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:01 PM Subject: Re: Can I do this? Oops... forget it I've changed the wrong cocoon.xconf (I'm working on the network, but have changed local file :| ), it's now error free:) Thanks - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:56 PM Subject: RE: Can I do this? Which cocoon version do you use? If you use 2.04 it seems to me that input modules are not supported by the compiled sitemap. But I'm not sure because I've been using Cocoon 2.1dev for month (interpreted sitemap and input modules work). But be warned - Cocoon 2.1 is still alpha!!! But I think this will change in the nearer future. Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:48 PM To: [EMAIL PROTECTED] Subject: Re: Can I do this? Thanks :) I've added them into cocoon.xconf, but know i'm having this: message Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 description org.apache.avalon.framework.configuration.ConfigurationExcepti on: Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 that's here: map:match pattern=do-search map:generate type=file src=http://http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch. fcgi?db=pubmed amp;term={request:query}amp;retmax=200/ map:transform type=xslt src=stylesheets/pubmed2html.xsl/ map:serialize type=html/ /map:match I'm doing anything wrong? Or do I need to use, input-module name=request/ ? TIA Joao Cesar - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:29 PM Subject: RE: Can I do this? Checkout input modules - they should be available in 2.04. They grant you easy access to the request parameters. map:generate type=file src=http://blablabla?term={request:query}/ Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:54 PM To: [EMAIL PROTECTED] Subject: Can I do this? Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1}/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I do this?
You can also use XPath expressions to parse your parameters, e.g.: {request:translate(query, '+', ' ')} -- Konstantin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] It's really working :) Thanks ! :) I just have one problem, if I search for two terms it goes as term1+term2 and it produces no results, as well if i type them under quotes, like term1 term2 :| Can I parse the querystring on the fly ? Thanks - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:01 PM Subject: Re: Can I do this? Oops... forget it I've changed the wrong cocoon.xconf (I'm working on the network, but have changed local file :| ), it's now error free:) Thanks - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:56 PM Subject: RE: Can I do this? Which cocoon version do you use? If you use 2.04 it seems to me that input modules are not supported by the compiled sitemap. But I'm not sure because I've been using Cocoon 2.1dev for month (interpreted sitemap and input modules work). But be warned - Cocoon 2.1 is still alpha!!! But I think this will change in the nearer future. Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:48 PM To: [EMAIL PROTECTED] Subject: Re: Can I do this? Thanks :) I've added them into cocoon.xconf, but know i'm having this: message Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 description org.apache.avalon.framework.configuration.ConfigurationExcepti on: Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 that's here: map:match pattern=do-search map:generate type=file src=http://http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch. fcgi?db=pubmed amp;term={request:query}amp;retmax=200/ map:transform type=xslt src=stylesheets/pubmed2html.xsl/ map:serialize type=html/ /map:match I'm doing anything wrong? Or do I need to use, input-module name=request/ ? TIA Joao Cesar - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:29 PM Subject: RE: Can I do this? Checkout input modules - they should be available in 2.04. They grant you easy access to the request parameters. map:generate type=file src=http://blablabla?term={request:query}/ Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:54 PM To: [EMAIL PROTECTED] Subject: Can I do this? Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1}/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can I do this?
Can I (?) do anything like this: map:match pattern="search?query=*" map:generate type="file" src="" href="http://blablabla?term={1}">http://blablabla?term={1}/ map:transform type="xslt" src=""/ map:serialize type="html"//map:match I've found that if I do (...) pattern="*.search" (...) it works, and i can do for example "search phrase".search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED]
Re: Can I do this?
Have you considered doing this in an XSP or an Action? -- Ryan Hoegg ISIS Networks http://www.isisnetworks.net [EMAIL PROTECTED] wrote: Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1} http://blablabla?term=%7B1%7D/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I do this?
you might want to look into the RequestParameterAction http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/matching/RequestParameterMatcher.html http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/src/java/org/apache/cocoon/matching/RequestParameterMatcher.java?rev=1.1content-type=text/vnd.viewcvs-markup map:match pattern=query map:generate src=http://whatever/andsome?term={1}; / /map if you need more then one request parameter it might be easier to use the RequestParameterAction: http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/acting/RequestParamAction.html -marc= [EMAIL PROTECTED] wrote: Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1}/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] -- Marc Portierhttp://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center Read my weblog at http://radio.weblogs.com/0116284/ [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I do this?
I'm new at cocoon, but it seems to me a little blurry where the right place to do something... And I don't know for example, what can I do with an action, so I was experimenting some techniques to have my objective done, but what I'm looking for, is: I've made a form to search for a term. When a user submit's the form, I merge that querystring (I know how to do it in XSP) with an URL, for instance: http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmedterm=trans genicretmax=200 In that example I've used trangenic as a search term. Them that site will return me XML data (mainly id's of related articles), and I must write it in a repository. Then I must build an harvester that will go the repository and fetch the metadata of each article id. I'm actually having trouble to understand, in what state of the pipeline will I do every task I need, I know that I can use a serializer to write the XML on disc, I can get querystring's in XSP, i can write XML on disc with a XSL also, so there are many many ways, and for newbies it's a little bit difficult to start with :| Currently I have the form like this in my sitemap.xmap: map:match pattern=search map:generate type=file src=documents/search.xml/ map:transform type=xslt src=stylesheets/page2html.xsl/ map:serialize type=html/ /map:match The form action is do-search and method POST. I wrote the next step like this: map:match pattern=do-search !-- validate form data -- map:act type=form-validator map:parameter name=descriptor value=context://pubmed/descriptors/params.xml/ map:parameter name=validate value=username/ !-- merge querystring with url and fetch data to repository -- here I don't know what's the best way to follow: - a transformer? - send the querystring (how to?) to a XSP that will do the rest /map:act !-- form data is null -- map:redirect-to uri=error-form/ /map:match Another aproach i have is in the form, the action is search.xsp (I skip the validation procedure) and then I defined: map:match pattern=procura.xsp map:generate type=serverpages src=xsp/procura.xsp/ map:transform type= write-source/ map:serialize type=xml/ /map:match and in the XSP I can get the querystring (i've done it) but I don't know how to grab the XML data :| Can anyone give tips ? Thanks in advance for helping. João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I do this?
On Tue, 25 Mar 2003 [EMAIL PROTECTED] wrote: I'm new at cocoon, but it seems to me a little blurry where the right place to do something... And I don't know for example, what can I do with an action, so I was experimenting some techniques to have my objective done, but what I'm looking for, is: I've made a form to search for a term. When a user submit's the form, I merge that querystring (I know how to do it in XSP) with an URL, for instance: http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmedterm=trans genicretmax=200 Can anyone give tips ? Thanks in advance for helping. Check out the WebServiceProxyGenerator, I think it can do what you need it to. Tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Can I do this?
Checkout input modules - they should be available in 2.04. They grant you easy access to the request parameters. map:generate type=file src=http://blablabla?term={request:query}/ Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:54 PM To: [EMAIL PROTECTED] Subject: Can I do this? Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1}/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I do this?
Thanks :) I've added them into cocoon.xconf, but know i'm having this: message Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 description org.apache.avalon.framework.configuration.ConfigurationException: Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 that's here: map:match pattern=do-search map:generate type=file src=http://http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed amp;term={request:query}amp;retmax=200/ map:transform type=xslt src=stylesheets/pubmed2html.xsl/ map:serialize type=html/ /map:match I'm doing anything wrong? Or do I need to use, input-module name=request/ ? TIA Joao Cesar - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:29 PM Subject: RE: Can I do this? Checkout input modules - they should be available in 2.04. They grant you easy access to the request parameters. map:generate type=file src=http://blablabla?term={request:query}/ Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:54 PM To: [EMAIL PROTECTED] Subject: Can I do this? Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1}/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Can I do this?
Which cocoon version do you use? If you use 2.04 it seems to me that input modules are not supported by the compiled sitemap. But I'm not sure because I've been using Cocoon 2.1dev for month (interpreted sitemap and input modules work). But be warned - Cocoon 2.1 is still alpha!!! But I think this will change in the nearer future. Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:48 PM To: [EMAIL PROTECTED] Subject: Re: Can I do this? Thanks :) I've added them into cocoon.xconf, but know i'm having this: message Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 description org.apache.avalon.framework.configuration.ConfigurationExcepti on: Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 that's here: map:match pattern=do-search map:generate type=file src=http://http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch. fcgi?db=pubmed amp;term={request:query}amp;retmax=200/ map:transform type=xslt src=stylesheets/pubmed2html.xsl/ map:serialize type=html/ /map:match I'm doing anything wrong? Or do I need to use, input-module name=request/ ? TIA Joao Cesar - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:29 PM Subject: RE: Can I do this? Checkout input modules - they should be available in 2.04. They grant you easy access to the request parameters. map:generate type=file src=http://blablabla?term={request:query}/ Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:54 PM To: [EMAIL PROTECTED] Subject: Can I do this? Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1}/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I do this?
Oops... forget it I've changed the wrong cocoon.xconf (I'm working on the network, but have changed local file :| ), it's now error free:) Thanks - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:56 PM Subject: RE: Can I do this? Which cocoon version do you use? If you use 2.04 it seems to me that input modules are not supported by the compiled sitemap. But I'm not sure because I've been using Cocoon 2.1dev for month (interpreted sitemap and input modules work). But be warned - Cocoon 2.1 is still alpha!!! But I think this will change in the nearer future. Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:48 PM To: [EMAIL PROTECTED] Subject: Re: Can I do this? Thanks :) I've added them into cocoon.xconf, but know i'm having this: message Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 description org.apache.avalon.framework.configuration.ConfigurationExcepti on: Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 that's here: map:match pattern=do-search map:generate type=file src=http://http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch. fcgi?db=pubmed amp;term={request:query}amp;retmax=200/ map:transform type=xslt src=stylesheets/pubmed2html.xsl/ map:serialize type=html/ /map:match I'm doing anything wrong? Or do I need to use, input-module name=request/ ? TIA Joao Cesar - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:29 PM Subject: RE: Can I do this? Checkout input modules - they should be available in 2.04. They grant you easy access to the request parameters. map:generate type=file src=http://blablabla?term={request:query}/ Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:54 PM To: [EMAIL PROTECTED] Subject: Can I do this? Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1}/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I do this?
It's really working :) Thanks ! :) I just have one problem, if I search for two terms it goes as term1+term2 and it produces no results, as well if i type them under quotes, like term1 term2 :| Can I parse the querystring on the fly ? Thanks - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:01 PM Subject: Re: Can I do this? Oops... forget it I've changed the wrong cocoon.xconf (I'm working on the network, but have changed local file :| ), it's now error free:) Thanks - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:56 PM Subject: RE: Can I do this? Which cocoon version do you use? If you use 2.04 it seems to me that input modules are not supported by the compiled sitemap. But I'm not sure because I've been using Cocoon 2.1dev for month (interpreted sitemap and input modules work). But be warned - Cocoon 2.1 is still alpha!!! But I think this will change in the nearer future. Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:48 PM To: [EMAIL PROTECTED] Subject: Re: Can I do this? Thanks :) I've added them into cocoon.xconf, but know i'm having this: message Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 description org.apache.avalon.framework.configuration.ConfigurationExcepti on: Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 that's here: map:match pattern=do-search map:generate type=file src=http://http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch. fcgi?db=pubmed amp;term={request:query}amp;retmax=200/ map:transform type=xslt src=stylesheets/pubmed2html.xsl/ map:serialize type=html/ /map:match I'm doing anything wrong? Or do I need to use, input-module name=request/ ? TIA Joao Cesar - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:29 PM Subject: RE: Can I do this? Checkout input modules - they should be available in 2.04. They grant you easy access to the request parameters. map:generate type=file src=http://blablabla?term={request:query}/ Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:54 PM To: [EMAIL PROTECTED] Subject: Can I do this? Can I (?) do anything like this: map:match pattern=search?query=* map:generate type=file src=http://blablabla?term={1}/ map:transform type=xslt src=stylesheets/search2html.xsl/ map:serialize type=html/ /map:match I've found that if I do (...) pattern=*.search (...) it works, and i can do for example search phrase.search in the address bar and it matches with the generate prototype.. but i want to use that notation to match a GET form. Thanks João César [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [HELP] How Can I do ?
Look for a thread whom subject is Help on Sitemap wich started in march 2002. note for diana : Should this Question be considered as Frequently Asked ? ? -Message d'origine- De: illo [mailto:[EMAIL PROTECTED]] Date: mardi 9 juillet 2002 16:22 À: [EMAIL PROTECTED] Objet: [HELP] How Can I do ? Hello All, I hava a question for sitemap how can i write a sitmap: if i request http://site/test.xml it will transform by default.xsl if i request http://site/test.xml?sytle=test.xsl it will transform by test.xsl Thanks - 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] - 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]
Re: [HELP] How Can I do ?
On Wednesday, July 10, 2002, at 02:34 AM, TREGAN Fabien wrote: Look for a thread whom subject is Help on Sitemap wich started in march 2002. note for diana : Should this Question be considered as Frequently Asked ? ? I'll make sure it's added, Fabien. Thanks for flagging it. It would be wonderful to have a library of sitemap/pipeline snippets, to give users ideas how to accomplish almost anything. But we can only build such a library one snippet at a time. And it takes contributions from all kinds of users. Diana - 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]
RE: [HELP] How Can I do ?
I'll make sure it's added, Fabien. Thanks for flagging it. It would be wonderful to have a library of sitemap/pipeline snippets, to give users ideas how to accomplish almost anything. But we can only build such a library one snippet at a time. And it takes contributions from all kinds of users. Yes, and one day we will have those code snipet integrated in Eclipse's sitemap editor and we will code for Cocoon by drag'n'droping animated-musicPlaying-icons from free libraries, and RWADUX (Rapid Web Application Devloppement Using Xml) will became a buzzword, and i'll be fired because my boss do not need me since he can use a mouse almost perfectly, and i'll go on hollidays, stop coding, dust my old EOS 1, get some Velvias in the fridge and try to remember how to take a photo, and, and... and i'll awake, it will only have been (1) a nightmare ! Diana (1) : I'll have to look for my English Grammar is Easy book to check this one - 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]
Re: [HELP] How Can I do ?
I'll make sure it's added, Fabien. Thanks for flagging it. It would be wonderful to have a library of sitemap/pipeline snippets, to give users ideas how to accomplish almost anything. some kind of flow chart that allows you to select what kind of task you're trying to accomplish and then points you to the snippet (or doc) would be most useful. - 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]
[HELP] How Can I do ?
Hello All, I hava a question for sitemap how can i write a sitmap: if i request http://site/test.xml it will transform by default.xsl if i request http://site/test.xml?sytle=test.xsl it will transform by test.xsl Thanks - 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]
[HELP] How Can I do ?
Hello All, I hava a question for sitemap how can i write a sitmap: if i request http://site/test.xml it will transform by default.xsl if i request http://site/test.xml?sytle=test.xsl it will transform by test.xsl Thanks - 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]
[HELP] How Can I do ?
Hello All, I hava a question for sitemap how can i write a sitmap: if i request http://site/test.xml it will transform by default.xsl if i request http://site/test.xml?sytle=test.xsl it will transform by test.xsl Thanks - 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]
[HELP] How Can I do ?
Hello All, I hava a question for sitemap how can i write a sitmap: if i request http://site/test.xml it will transform by default.xsl if i request http://site/test.xml?sytle=test.xsl it will transform by test.xsl Thanks - 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]
Re: [HELP] How Can I do ?
use the selector: org.apache.cocoon.selection.RequestParameterSelector This should works: map:pipeline map:match pattern=/test.xml map:generate src={1}/ map:select type=request-parameter map:parameter name=parameter-name value=style/ map:when test=test.xsl map:transform src=stylesheets/test.xsl/ /map:when map:otherwise map:transform src=stylesheets/default.xsl/ /map:otherwise /map:select map:serialize/ /map:match /map:pipeline CIAO! -- Matteo Di Giovinazzo [EMAIL PROTECTED] illo ha scritto: Hello All, I hava a question for sitemap how can i write a sitmap: if i request http://site/test.xml it will transform by default.xsl if i request http://site/test.xml?sytle=test.xsl it will transform by test.xsl Thanks - 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] - 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]
Re: [HELP] How Can I do ?
I think, that's not the best way. Why not doing it in the same way as a few hours ago posted: http://www.mail-archive.com/cocoon-users@xml.apache.org/msg15068.html. Regards, Joerg Matteo Di Giovinazzo wrote: use the selector: org.apache.cocoon.selection.RequestParameterSelector This should works: map:pipeline map:match pattern=/test.xml map:generate src={1}/ map:select type=request-parameter map:parameter name=parameter-name value=style/ map:when test=test.xsl map:transform src=stylesheets/test.xsl/ /map:when map:otherwise map:transform src=stylesheets/default.xsl/ /map:otherwise /map:select map:serialize/ /map:match /map:pipeline CIAO! - 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]
Can I do This ?
Can I run Cocoon with Tomcat only, not including Apache? If so how do I go about it? I just tried and get pretty funky output. Thanks - Tod - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can I do This ?
i've just do it! cocoon + tomcat only ! and it goes well. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]