Sorry for late response, I am trying to find smth... and found this...

use '&' instead of '&'
    <map:generate src="http://www.google.nl/search?hl=nl&amp;q={1}"/>



Wouter Roosendaal wrote:
> 
> Hi,
> 
> I trying to get cocoon (2.1.7) to request an xml document from an url.
> For example I have tried the following in my sitemap.xmap
>             <map:match pattern="*.qry">
>               <map:generate
> src="http://www.google.nl/search?hl=nl&q={1}"/>
>               <map:serialize type="xml"/>
>             </map:match>
> When I call the page http://mycocoon/help.qry I expected the call that 
> gets passed to cocoon is:
> http://www.google.nl/search?hl=nl&q=help but I get an error message from 
> cocoon that says:
> The reference to entity "q" must end with the ';' delimiter.
> 
> I've tried to pass the request parameters with <map:parameter name="q"   
> value="{1}" /> etc.
> After some reading my guess is the & in the src part of the generator. 
> Is there any way to pass request parameters to a generator or am I 
> totally on the wrong track here?
> 
> Any pointers to a resolution would be much appreciated.
> 
> Wouter.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/request-parameters-in-sitemap-tf437528.html#a7360324
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to