[EMAIL PROTECTED] (Suresh Manoharan) wrote in
news:[EMAIL PROTECTED]: 

> I am getting parse error [Parse error: parse error, unexpected
> T_STRING  on line 1] when I use XML version info.
> 
><?xml version="1.0" encoding="utf-8"?>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
><html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en-US"
>lang="en-US"> <head>
[snip]
> Can you pls. help me understand why parsing error occurs and how to
> avoid it.

I just start with "<!DOCTYPE..." on the first line and exclude the 
"<?xml..." line completely and both parsing and validation are fine.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to