RE: [PHP] XML Parser is a bit strict

From: Date: Thu, 18 Jan 2001 22:34:34 +0000
Subject: RE: [PHP] XML Parser is a bit strict
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35474@lists.php.net to get a copy of this message
Really the only way around it is to not use XML since your HTML has to have closing tags to make the XML document valid. As far as any XML parser is concerned your HTML is not HTML anymore but is more XML. -Mike -----Original Message----- From: Butler, Shaun [mailto:sbutler@internet.com] Sent: Thursday, January 18, 2001 10:10 AM To: php-general@lists.php.net Subject: [PHP] XML Parser is a bit strict I am using php 4.02 and Apache 1.3.12 and am trying to do some XML parsing. HTML is also in the text I'm parsing and the xml parsing dies if it sees an html tag that does not have a matching closing tag. Is there any work around to this and if so is there a way to make it so XML tags don't need to be closed too? -- Shaun Butler php@sbutler.org x2905 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#35474) next »