OK my reply got mangled because I had to put html markup in it heh - lets try that again :

<!DOCTYPE Doctype goes here>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Title goes here</title>
</head>

<body>
Body text goes here
</body>

</html>

Note this doesn't contain the <xml ... &gt processing instruction.

Hope that's clearer.
Neil.

At 05:25 05/04/2003 +0000, I wrote:
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 04 Apr 2003 16:00:59 +0100
To: [EMAIL PROTECTED]
From: Neil Smith <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Subject: Re: [PHP-WIN] Re: Subject: PHP probs with XML docs

According to the xhtml spec, you should be sending the doctype tags and PIs like this :
http://www.w3schools.com/xhtml/xhtml_syntax.asp


<!DOCTYPE Doctype goes here>
Body text goes here Which means that you should *not* hav a PI at the top specifying xml. So, if you send a header with content-type of xml but leave out the PI a the top of the document, what happens ? (NB : PHP will send content type text/html unless you specify otherwise )


Hope that helps
Neil.


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



Reply via email to