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>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<title>Title goes here</title>
</head>

<body>
Body text goes here
</body>

</html>

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.


At 09:08 04/04/2003 -0500, you wrote:
In a message dated 04/04/2003 09:09:05 GMT Standard Time, [EMAIL PROTECTED] writes:


(Or rather, *what* are you sending and what *headers* are you also
sending ?)


Below are the headers I was sending....

<?php echo "<?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";>


...obviously, above these headers where the sessions codes.

Tryst


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



Reply via email to