Hi everybody,
I'm new to Cocoon so forgive me if my problem seems trivial to you :-) I'm
using C2 with Tomcat 4.0.3 on Win2000.
I'm trying to pass a request parameter to a transformation as following:
<map:match pattern="test?par1=*&par2=*">
<map:generate src="{1}.xml" />
<map:transform src="{2}.xsl" />
<map:serialize />
</map:match>
As soon as I request a page, in the Cocoon servlet I get the following
org.xml.sax.SAXParseException:
"The reference to entity "par2" must end with the ';' delimiter".
In other words, the ampersand is looked at as a starting entity... I tried
with a backslash in front of &, but nothing changes.
So my basic question is: how do I extract and pass request parameter values?
Thanks a lot,
Enrico
---------------------------------------------------------------------
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]>