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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php