Actually the request I make goes to an application that outputs valid
xml, for this google example you are probably right.
My problem was the & in the src
Ard Schrijvers wrote:
Don't you have to tidy this request in order to serialize this as xml? I would
be surprised if it just works like this...
AS
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.
try http://www.google.nl/search?hl=nl&q=help
Jorg
---------------------------------------------------------------------
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]