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 &term={request:query}&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]