Re: Xpath translate...
To do this I use an xsp page. I get the request parameters and apply some modification and put it in a tag. then I use an xsl page to get the value in the tag and display it. Lionel At 16:24 30/03/2003 +0100, you wrote: Hi, after trying this {request:translate(query, '+', ' ')}, I don't get any result from my search... I've tried to see if translate was working but with no sucess.. What I'm trying to do is, parsing this querystring: search?query=transgenic+rice to: http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&te rm={request:translate(query, '+', ' ')}&retmax=200"/> to match: http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=transg enic%20rice&retmax=200 TIA Joao Cesar [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: Xpath translate...
Hi João, one pattern I've used in this situation is to assemble the query URL in XSLT, rather than in the sitemap. First, you use the RequestGenerator to produce an XML document describing the query. Second, your XSLT transforms this document into an Xinclude statement containing the new query URL. Third, you use the XInclude transformer to execute this query. Then format the results as necessary and serialize. Cheers!! Con > -Original Message- > From: João César [mailto:[EMAIL PROTECTED] > Sent: Monday, 31 March 2003 03:24 > To: [EMAIL PROTECTED] > Subject: Xpath translate... > > > Hi, after trying this {request:translate(query, '+', ' ')}, I > don't get any > result from my search... I've tried to see if translate was > working but with > no sucess.. > > What I'm trying to do is, parsing this querystring: > > search?query=transgenic+rice > > to: > > src="http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db > =pubmed&te > rm={request:translate(query, '+', ' ')}&retmax=200"/> > > to match: > > http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubm ed&term=transg enic%20rice&retmax=200 TIA Joao Cesar [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]
Xpath translate...
Hi, after trying this {request:translate(query, '+', ' ')}, I don't get any result from my search... I've tried to see if translate was working but with no sucess.. What I'm trying to do is, parsing this querystring: search?query=transgenic+rice to: http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&te rm={request:translate(query, '+', ' ')}&retmax=200"/> to match: http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=transg enic%20rice&retmax=200 TIA Joao Cesar [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]