You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Colin W. Kingsbury" <co...@empolis-na.com> on 2003/04/03 02:52:44 UTC

map:part- how to encode a URL source?

Here is what I wrote:

<map:part
src="http://localhost:8080/bigServlet?k42id={1}&container=page-body"/>

Here is what I get:

org.xml.sax.SAXParseException: The reference to entity "container" must
end with the ';' delimiter.
<snip>

How can I do this? I need to make calls to URLs with multiple
paramters...

Thanks in advance!

-cwk.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: map:part- how to encode a URL source?

Posted by Alex Romayev <ro...@yahoo.com>.
Colin, "&" is a special character in XML and need to
be escaped as "&amp;"

-Alex

--- "Colin W. Kingsbury" <co...@empolis-na.com> wrote:
> Here is what I wrote:
> 
> <map:part
>
src="http://localhost:8080/bigServlet?k42id={1}&container=page-body"/>
> 
> Here is what I get:
> 
> org.xml.sax.SAXParseException: The reference to
> entity "container" must
> end with the ';' delimiter.
> <snip>
> 
> How can I do this? I need to make calls to URLs with
> multiple
> paramters...
> 
> Thanks in advance!
> 
> -cwk.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org