Re: <?xml version="1.0"?> & PHP

From: Date: Mon, 09 Apr 2001 20:23:17 +0000
Subject: Re: <?xml version="1.0"?> & PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47910@lists.php.net to get a copy of this message
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

« previous php.general (#47910) next »