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 > &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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]