I dunno if this is of any help, but when I use XML and php on the same page, 
what I do to bypass that is just have php echo the XML.

echo "<?xml version="1.0"?>";

> Hi All,
>    When using the dtd below on a page that has a form with php. I get a
> parser error for <?xml version="1.0"?> am I going to have to go back to
> a HTML 4.01 dtd or can I do something like escape the ? ?
>
> <?xml version="1.0"?>
> <!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">
>
> TIA
> Gary

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to