Please post in plain text! Your question: If your url is "http://[your-server]/[your-context]/xsp/test.xsp" you need an xsp-file with the name test.xsp.xsp because you match a string behind "xsp/*". The matcher returns in {1} "test.xsp".
If you don't want to name your files ".xsp.xsp" ;-) I think you need following pipeline: <map:match pattern="xsp/*.xsp"> <map:generate type="serverpages" src="docs/samples/xsp/{1}.xsp"/> <map:transform src="stylesheets/page.xsl"/> <map:serialize/> </map:match> A second hint: you haven't specified a generator (in my example I specified the serverpages-generator). This means that the default generator will be taken. If you use the example sitemap of cocoon the file-generator is the default generator. Regards, Reinhard -----Ursprungliche Nachricht----- Von: Ferran Urgell [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 15. November 2001 13:02 An: [EMAIL PROTECTED] Betreff: How to make an esql query ? Hi I would to make an esql query, in my database (mysql). I'm using an xsp file and xsl file. But what I need to put in the sitemap? That not works! <map:match pattern="xsp/*"> <map:generate src="docs/samples/xsp/{1}.xsp"/> <map:transform src="stylesheets/page.xsl"/> <map:serialize/> </map:match> Do You Yahoo!? Find the one for you at Yahoo! Personals. --------------------------------------------------------------------- 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]>