<?xml ?> parsing problem
| From: | Daniele Baroncelli | Date: | Sat, 28 Jun 2003 10:33:27 +0000 |
| Subject: | <?xml ?> parsing problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-153251@lists.php.net to get a copy of this message | ||
Hi guys,
I have problem in including this text in my PHP parsed file for XHTML
definition:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
It works if I remove the first line:
<?xml version="1.0" encoding="iso-8859-1"?>
So, I am assuming PHP has problems with the <? ?> symbols, as they are
recognised to be PHP code delimiters.
Considering that I don't have control of the PHP configuration on the
server, does anyone have any idea of how I could handle this parsing
problem, still being able to define the file as XHTML?
Cheers
Daniele