Forum Moderators: coopster
I am developing a php site in Dreamweaver MX and keep getting the following error on several pages:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://www.nticw.co.uk/admin/search_users_res.php?
<?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">
-----------------------------------------------------^
If i remove the following code put on by Dreamweaver: <?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">";?> the errors clear but I loose the css formatting!
Any help would be very well recieved!
Thanks