Hi

Since & is a special char you have to mark it as character data.

<url>http://www.foo.com/some-path?arg1=value1<![CDATA[&]]>arg2=value2</url>

greetings
mike
----- Original Message ----- 
From: "Themba Mbatha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 8:19 PM
Subject: Usage of & in URLs


> Hi all;
> 
> Perhaps this has been asked. I need to show a url as in
> <url>http://www.foo.com/some-path?arg1=value1&arg2=value2</url> into the
> transformed XML. I am getting errors with Cocoon (the generator, in
> particular) each time it encounters an & character. I am told this is an
> XML problem but I was wondering if anyone has had to deal with this type
> of problem.
> 
> Thanx.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to