note 57274 added to ref.dom

From: Date: Thu, 29 Sep 2005 07:32:34 +0000
Subject: note 57274 added to ref.dom
Groups: php.notes 
Request: Send a blank email to php-notes+get-95952@lists.php.net to get a copy of this message
When I tried to parse my XHTML Strict files with DOM extension, it couldn't understand xhtml entities (like &copy;). I found post about it here (14-Jul-2005 09:05) which adviced to add resolveExternals = true, but it was very slow. There was some small note about xml catalogs but without any glue. Here it is: XML catalogs is something like cache. Download all needed dtd's to /etc/xml, edit file /etc/xml/catalog and add this line: <public publicId="-//W3C//DTD XHTML 1.0 Strict//EN" uri="file:///etc/xml/xhtml1-strict.dtd" /> Thats all. Thanks to http://www.whump.com/moreLikeThis/link/03815 ---- Manual Page -- http://www.php.net/manual/en/ref.dom.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57274 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57274&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57274&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57274&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57274&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57274&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57274&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57274&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57274&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#95952) next »