Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: My XML Feed Choked My XML Feed ChokedTo: NULL Date: 11/4/2005 6:35:00 AM I am relatively new to XML. I built a website using XML to transfer query results to web browsers. Everything was working and I was doing final testing before deploying it, but ran into an XML problem. I got the following error: Whitespace is not allowed at this location. Error processing resource 'http://compass/cgi-bin/keyword_search.php'. Line 15... <name>CO & CO</name> ------------^ 'CO & CO' is a string that represents the name of a company that was fed out of the database as part of a query result. My PHP code builds it into XML Apparently, XML doesn't like to see an '&' between it's tags. I though XML ignored everything between tags, so why does it snag on this? Is there a simple fix to this or must I go back and write exception code to handle these? Any suggestion would be appreciated. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
