The problem with the ampersand in XML, is that it is used to denote the start of an entity. You can replace it... with an entity (&):
<url>http://www.foo.com/some-path?arg1=value1&arg2=value2</url> Manos > -----Original Message----- > From: Michael Mangeng [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 9:42 PM > To: [EMAIL PROTECTED] > Subject: Re: Usage of & in URLs > > > 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]> > > --------------------------------------------------------------------- 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]>