XmlReader & DOC_TYPE

From: Date: Thu, 15 Dec 2005 13:23:32 +0000
Subject: XmlReader & DOC_TYPE
Groups: php.general 
Request: Send a blank email to php-general+get-227466@lists.php.net to get a copy of this message
Hi, Im using XmlReader to pass through XML which has a doctype, now the problem is I cannot see how to retrieve the publicId and/or systemId of the doctype declaration, is this possible or a limitation of libxml? <!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" xml:lang="en" lang="en"> <head> <title>Template</title> </head> <body> <h1>Test</h1> </body> </html> Jared

« previous php.general (#227466) next »